summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2015-03-14 18:44:12 (GMT)
committerMatt Garnes <matt@cyngn.com>2015-03-16 19:30:38 (GMT)
commitb4b01cdc995309f0b850c5de928d147b83e97fbd (patch)
treeddba3420d2a8a62db73a99b93bac4a7818d61e50
parent4a156fdff22ff80b4be70b47f9cf7f9c798b993f (diff)
downloadandroid_packages_apps_Trebuchet-b4b01cdc995309f0b850c5de928d147b83e97fbd.zip
android_packages_apps_Trebuchet-b4b01cdc995309f0b850c5de928d147b83e97fbd.tar.gz
android_packages_apps_Trebuchet-b4b01cdc995309f0b850c5de928d147b83e97fbd.tar.bz2
Trebuchet: fix live settings bug
Repro: - On fresh boot, long press on workspace and open settings panel - Toggle a setting (e.g. Large icons) that triggers a grid refresh - Quickly close the panel and click into a workspace page - Observe sometimes the background of the workspace page is still outlined as if in Overview mode Change-Id: I89492aa9eed269dac18027fa43d1d86597370502
-rw-r--r--src/com/android/launcher3/OverviewSettingsPanel.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/launcher3/OverviewSettingsPanel.java b/src/com/android/launcher3/OverviewSettingsPanel.java
index acc700a..fef1643 100644
--- a/src/com/android/launcher3/OverviewSettingsPanel.java
+++ b/src/com/android/launcher3/OverviewSettingsPanel.java
@@ -209,8 +209,9 @@ public class OverviewSettingsPanel {
frameAnimation.start();
if (mLauncher.updateGridIfNeeded()) {
- if (mLauncher.getWorkspace().isInOverviewMode()) {
- mLauncher.getWorkspace().showOutlines();
+ Workspace workspace = mLauncher.getWorkspace();
+ if (workspace.isInOverviewMode()) {
+ workspace.setChildrenOutlineAlpha(1.0f);
mLauncher.mSearchDropTargetBar.hideSearchBar(false);
}
}