summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-04-17 23:18:53 (GMT)
committerWinson Chung <winsonc@google.com>2015-04-17 23:19:46 (GMT)
commit2826a401edb12e53cd19e76af3551c34fef05755 (patch)
treeb305fd481636300c1ba5f3289f069f555680a9ad
parent9be47e8eae0419855973da1ce408f107bc6c2d45 (diff)
downloadandroid_packages_apps_Trebuchet-2826a401edb12e53cd19e76af3551c34fef05755.zip
android_packages_apps_Trebuchet-2826a401edb12e53cd19e76af3551c34fef05755.tar.gz
android_packages_apps_Trebuchet-2826a401edb12e53cd19e76af3551c34fef05755.tar.bz2
Fixing build.
-rw-r--r--src/com/android/launcher3/Launcher.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 3d8cf31..2bfb29e 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -4415,6 +4415,17 @@ public class Launcher extends Activity
return null;
}
+ /**
+ * Returns whether the launcher callbacks overrides search in all apps.
+ * @return
+ */
+ @Thunk boolean isAllAppsSearchOverridden() {
+ if (mLauncherCallbacks != null) {
+ return mLauncherCallbacks.overrideAllAppsSearch();
+ }
+ return false;
+ }
+
private boolean shouldRunFirstRunActivity() {
return !ActivityManager.isRunningInTestHarness() &&
!mSharedPrefs.getBoolean(FIRST_RUN_ACTIVITY_DISPLAYED, false);