summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorRaj Yengisetty <raj@cyngn.com>2015-01-19 12:28:39 +0800
committerMatt Garnes <matt@cyngn.com>2015-01-19 07:20:04 +0000
commitc183e8c5d9c5ed1137b6a4cabe456b4db219da31 (patch)
tree1d71f9259074611319b864358db84a3e5efbde30 /src/com
parent1920554a87189a8a521a9c9959a2c54da02ec419 (diff)
downloadpackages_apps_Trebuchet-c183e8c5d9c5ed1137b6a4cabe456b4db219da31.tar.gz
packages_apps_Trebuchet-c183e8c5d9c5ed1137b6a4cabe456b4db219da31.tar.bz2
packages_apps_Trebuchet-c183e8c5d9c5ed1137b6a4cabe456b4db219da31.zip
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 (cherry picked from commit 3549b0c14220370f4b50867ff8d21d9b6513f641)
Diffstat (limited to 'src/com')
-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 97577a10a..a93fff47b 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();