summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-04-17 23:21:48 (GMT)
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-04-17 23:21:49 (GMT)
commit7af216ff04b7f0c3852119b476d8f692edfcaaa7 (patch)
tree3307fc3e090b1479934a08ca317534098aa04e08
parente655639609f3e6ae3124034860f975a66026a832 (diff)
parent2826a401edb12e53cd19e76af3551c34fef05755 (diff)
downloadandroid_packages_apps_Trebuchet-7af216ff04b7f0c3852119b476d8f692edfcaaa7.zip
android_packages_apps_Trebuchet-7af216ff04b7f0c3852119b476d8f692edfcaaa7.tar.gz
android_packages_apps_Trebuchet-7af216ff04b7f0c3852119b476d8f692edfcaaa7.tar.bz2
Merge "Fixing build." into ub-launcher3-burnaby
-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);