summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AllAppsTransitionController.java
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-07-01 18:04:07 -0700
committerHyunyoung Song <hyunyoungs@google.com>2016-07-01 18:04:07 -0700
commit45eb757ea7321aeb8b34803681ec2eb4532b6d55 (patch)
tree528e5f33c39f1871857ad3b74ab225ff1bf9f4e7 /src/com/android/launcher3/allapps/AllAppsTransitionController.java
parentc9e71b88768639322f0821385923cb1626c10682 (diff)
downloadandroid_packages_apps_Trebuchet-45eb757ea7321aeb8b34803681ec2eb4532b6d55.tar.gz
android_packages_apps_Trebuchet-45eb757ea7321aeb8b34803681ec2eb4532b6d55.tar.bz2
android_packages_apps_Trebuchet-45eb757ea7321aeb8b34803681ec2eb4532b6d55.zip
Remove relayouts
b/29945805 > Workspace relayout occurs when window flag is set to change the status bar. This should not cause AllAppsTransitionController to be initialized. > Setting/Unsetting background drawables on the hotseat also causes unnecessary layout. Fix this issue. Change-Id: I73a3bfd3eb4bc34cf6760ffbd9826e3fef867056
Diffstat (limited to 'src/com/android/launcher3/allapps/AllAppsTransitionController.java')
-rw-r--r--src/com/android/launcher3/allapps/AllAppsTransitionController.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java
index 3ae8cd8fa..87236aa91 100644
--- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java
+++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java
@@ -444,5 +444,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
if (!mLauncher.isAllAppsVisible()) {
setProgress(mShiftRange);
}
+ mHotseat.removeOnLayoutChangeListener(this);
}
}