summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-08-11 17:30:48 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-08-15 17:36:41 +0000
commitfa3f1597d55347db92d4c3ced74e62db3a6d6d84 (patch)
tree114a5f0323f777dc1806de00f9cb226bb2ff1495
parent90c07b45d70df93395d2e9b9b384785df5f150be (diff)
downloadandroid_packages_apps_Trebuchet-fa3f1597d55347db92d4c3ced74e62db3a6d6d84.zip
android_packages_apps_Trebuchet-fa3f1597d55347db92d4c3ced74e62db3a6d6d84.tar.gz
android_packages_apps_Trebuchet-fa3f1597d55347db92d4c3ced74e62db3a6d6d84.tar.bz2
Fix for workspace showing outline after live settings changes
Change-Id: Ia60d8541b91e0ea9f65c8551aff1cfea7ae5c3fa
-rw-r--r--src/com/android/launcher3/OverviewSettingsPanel.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/launcher3/OverviewSettingsPanel.java b/src/com/android/launcher3/OverviewSettingsPanel.java
index 4381b91..f0a568b 100644
--- a/src/com/android/launcher3/OverviewSettingsPanel.java
+++ b/src/com/android/launcher3/OverviewSettingsPanel.java
@@ -217,8 +217,10 @@ public class OverviewSettingsPanel {
frameAnimation.start();
if (mLauncher.updateGridIfNeeded()) {
- mLauncher.getWorkspace().showOutlines();
- mLauncher.mSearchDropTargetBar.hideSearchBar(false);
+ if (mLauncher.getWorkspace().isInOverviewMode()) {
+ mLauncher.getWorkspace().showOutlines();
+ mLauncher.mSearchDropTargetBar.hideSearchBar(false);
+ }
}
}