summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <raj@cyngn.com>2015-01-19 12:28:39 +0800
committerniks255 <niks255@mail.ru>2017-01-07 04:39:45 +0600
commitd087a80275b9bec1512410c872c5776c40965b0d (patch)
tree3235fc598ab32f6d7146b876eb62261d2e9b9380
parent0fb0a246ae42df524e329a408707fa33f222f439 (diff)
downloadandroid_packages_apps_Trebuchet-d087a80275b9bec1512410c872c5776c40965b0d.tar.gz
android_packages_apps_Trebuchet-d087a80275b9bec1512410c872c5776c40965b0d.tar.bz2
android_packages_apps_Trebuchet-d087a80275b9bec1512410c872c5776c40965b0d.zip
Trebuchet: Fix bug with toggling SearchBar off:
Precondition, have Search Bar turned on. 1) Open Settings pannel 2) Toggle Search Bar to off 3) Press "home" to return to Launcher Change-Id: Idda7ed44ee0d6d172845d1447893280569147f7c
-rw-r--r--src/com/android/launcher3/Workspace.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index ecf618c4b..35345cb61 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -2186,7 +2186,7 @@ public class Workspace extends SmoothPagedView
}
private void enableOverviewMode(boolean enable, int snapPage, boolean animated) {
- // Check to see if new Settings need to taken
+ // Check to see if new Settings need to be taken
reloadSettings();
mLauncher.updateGridIfNeeded();
@@ -2307,6 +2307,9 @@ public class Workspace extends SmoothPagedView
return null;
}
+ // Check to see if new Settings need to be taken
+ reloadSettings();
+
// Initialize animation arrays for the first time if necessary
initAnimationArrays();