summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Workspace.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-03-04 13:54:52 -0800
committerSunny Goyal <sunnygoyal@google.com>2015-03-04 13:59:21 -0800
commit64b3fcc9f7bd951530bf9b78339882d7b104b50e (patch)
tree95bd55eca5a97016037faf60556576e9565a01a9 /src/com/android/launcher3/Workspace.java
parent8dbf0fff1f424df8db1bbedfe8e5cfd7783a92ea (diff)
downloadandroid_packages_apps_Trebuchet-64b3fcc9f7bd951530bf9b78339882d7b104b50e.tar.gz
android_packages_apps_Trebuchet-64b3fcc9f7bd951530bf9b78339882d7b104b50e.tar.bz2
android_packages_apps_Trebuchet-64b3fcc9f7bd951530bf9b78339882d7b104b50e.zip
Ensuring setQsbSearchBar is called whenever the QSB is created
> On launcher3 when the QSB is created for the first time after a widget drop, it is not set in searchDropTarget and as a result the "Remove" and "App Info" drop targets are not visible until Launcher3 restarts and rebinds QSB Change-Id: I599a9a18cc5d46af790b3145dae2eb385b32b20e
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r--src/com/android/launcher3/Workspace.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index b9c1f4d3d..da893b6ee 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -2305,7 +2305,7 @@ public class Workspace extends SmoothPagedView
}
}
- final View searchBar = mLauncher.getQsbBar();
+ final View searchBar = mLauncher.getOrCreateQsbBar();
final View overviewPanel = mLauncher.getOverviewPanel();
final View hotseat = mLauncher.getHotseat();
final View pageIndicator = getPageIndicator();