diff options
author | Jon Miranda <jonmiranda@google.com> | 2018-04-24 12:21:28 -0700 |
---|---|---|
committer | Jon Miranda <jonmiranda@google.com> | 2018-04-25 11:25:40 -0700 |
commit | 83337f9e8e6ff91fe3bf64eddab3d72cc2d8369c (patch) | |
tree | f6eda24dbf5c2ce2d5d6bdc36e88ce1b82eb4278 /src/com/android/launcher3/AbstractFloatingView.java | |
parent | 6aef85c41787c72c6eb05799dd6a323d292ab759 (diff) | |
download | android_packages_apps_Trebuchet-83337f9e8e6ff91fe3bf64eddab3d72cc2d8369c.tar.gz android_packages_apps_Trebuchet-83337f9e8e6ff91fe3bf64eddab3d72cc2d8369c.tar.bz2 android_packages_apps_Trebuchet-83337f9e8e6ff91fe3bf64eddab3d72cc2d8369c.zip |
Call close for AbstractFloatingViews that were removed while still open.
I'm not sure how/when this case occurs (perhaps during some transition/state
change), but manually removing the floating view matches the symptoms in the
bug.
Bug: 72996404
Change-Id: I1e7c1a338fcd16c8e07b3c49fb9c9b2097eb2708
Diffstat (limited to 'src/com/android/launcher3/AbstractFloatingView.java')
-rw-r--r-- | src/com/android/launcher3/AbstractFloatingView.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/AbstractFloatingView.java b/src/com/android/launcher3/AbstractFloatingView.java index 693cf3137..097c3415c 100644 --- a/src/com/android/launcher3/AbstractFloatingView.java +++ b/src/com/android/launcher3/AbstractFloatingView.java @@ -97,6 +97,7 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch handleClose(animate); BaseActivity.fromContext(getContext()).getUserEventDispatcher() .resetElapsedContainerMillis("container closed"); + mIsOpen = false; } protected abstract void handleClose(boolean animate); |