summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <raj@cyngn.com>2015-01-19 04:28:39 (GMT)
committerMatt Garnes <matt@cyngn.com>2015-01-19 07:17:54 (GMT)
commit3549b0c14220370f4b50867ff8d21d9b6513f641 (patch)
tree2b31fafece7d8dcbbb241e4703aef3f9381ad5f6
parent7900b8dc9c6119789cfcd374b3f18b67ac003605 (diff)
downloadandroid_packages_apps_Trebuchet-3549b0c14220370f4b50867ff8d21d9b6513f641.zip
android_packages_apps_Trebuchet-3549b0c14220370f4b50867ff8d21d9b6513f641.tar.gz
android_packages_apps_Trebuchet-3549b0c14220370f4b50867ff8d21d9b6513f641.tar.bz2
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 97577a1..a93fff4 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();
@@ -2284,6 +2284,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();