diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-06-12 21:18:53 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-06-16 10:31:43 -0700 |
commit | 383c507c47a5abf3258fc04220f37c366f983a97 (patch) | |
tree | 8cdd3e088ce1d185861666fcfbfa280a05dc50b8 /src/com/android/launcher3/allapps | |
parent | c332934e27527107c7f9c50ba6b7af93979b8126 (diff) | |
download | android_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')
-rw-r--r-- | src/com/android/launcher3/allapps/DefaultAppSearchController.java | 2 |
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(); |