Merge "Fixing build." into ub-launcher3-burnaby

This commit is contained in:
Winson Chung
2015-04-17 23:21:48 +00:00
committed by Android (Google) Code Review
+11
View File
@@ -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);