From 3549b0c14220370f4b50867ff8d21d9b6513f641 Mon Sep 17 00:00:00 2001 From: Raj Yengisetty Date: Mon, 19 Jan 2015 12:28:39 +0800 Subject: 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 --- src/com/android/launcher3/Workspace.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3