summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-11-10 18:35:02 (GMT)
committerAdnan <adnan@cyngn.com>2014-11-19 23:53:59 (GMT)
commit552ea33f8bffc7a7dd787fbfb32b10ca2dd7cf26 (patch)
tree2b8ba2981b14020f2a9afc63ac5f9f76bed9cf8f
parentc643dfd727a2e8d3bcc76c49372658c155587291 (diff)
downloadandroid_packages_apps_Trebuchet-552ea33f8bffc7a7dd787fbfb32b10ca2dd7cf26.zip
android_packages_apps_Trebuchet-552ea33f8bffc7a7dd787fbfb32b10ca2dd7cf26.tar.gz
android_packages_apps_Trebuchet-552ea33f8bffc7a7dd787fbfb32b10ca2dd7cf26.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 b52c9f6..a0cbc11 100644
--- a/src/com/android/launcher3/OverviewSettingsPanel.java
+++ b/src/com/android/launcher3/OverviewSettingsPanel.java
@@ -205,8 +205,10 @@ public class OverviewSettingsPanel {
frameAnimation.start();
if (mLauncher.updateGridIfNeeded()) {
- mLauncher.getWorkspace().showOutlines();
- mLauncher.mSearchDropTargetBar.showSearchBar(false);
+ if (mLauncher.getWorkspace().isInOverviewMode()) {
+ mLauncher.getWorkspace().showOutlines();
+ mLauncher.mSearchDropTargetBar.hideSearchBar(false);
+ }
}
}