summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/DefaultAppSearchController.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-06-12 21:18:53 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-06-16 10:31:43 -0700
commit383c507c47a5abf3258fc04220f37c366f983a97 (patch)
tree8cdd3e088ce1d185861666fcfbfa280a05dc50b8 /src/com/android/launcher3/allapps/DefaultAppSearchController.java
parentc332934e27527107c7f9c50ba6b7af93979b8126 (diff)
downloadandroid_packages_apps_Trebuchet-383c507c47a5abf3258fc04220f37c366f983a97.tar.gz
android_packages_apps_Trebuchet-383c507c47a5abf3258fc04220f37c366f983a97.tar.bz2
android_packages_apps_Trebuchet-383c507c47a5abf3258fc04220f37c366f983a97.zip
Removing ContentObserver in launcher
> Using callback insted of using a content observer > Setting the listener in LauncherAppState to prevent resource leak Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84
Diffstat (limited to 'src/com/android/launcher3/allapps/DefaultAppSearchController.java')
-rw-r--r--src/com/android/launcher3/allapps/DefaultAppSearchController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/allapps/DefaultAppSearchController.java b/src/com/android/launcher3/allapps/DefaultAppSearchController.java
index 1601c62df..a61df3a7d 100644
--- a/src/com/android/launcher3/allapps/DefaultAppSearchController.java
+++ b/src/com/android/launcher3/allapps/DefaultAppSearchController.java
@@ -56,7 +56,7 @@ final class DefaultAppSearchController extends AllAppsSearchBarController
private View mDismissSearchButtonView;
@Thunk AllAppsSearchEditView mSearchBarEditView;
@Thunk AllAppsRecyclerView mAppsRecyclerView;
- private Runnable mFocusRecyclerViewRunnable = new Runnable() {
+ @Thunk Runnable mFocusRecyclerViewRunnable = new Runnable() {
@Override
public void run() {
mAppsRecyclerView.requestFocus();