diff --git a/protos/launcher_atom.proto b/protos/launcher_atom.proto index 677c9921a0..c8a7d85415 100644 --- a/protos/launcher_atom.proto +++ b/protos/launcher_atom.proto @@ -130,7 +130,7 @@ message TaskBarContainer { optional int32 cardinality = 2; } -// Next value 41 +// Next value 43 enum Attribute { UNKNOWN = 0; DEFAULT_LAYOUT = 1; // icon automatically placed in workspace, folder, hotseat @@ -174,6 +174,8 @@ enum Attribute { ALL_APPS_SEARCH_RESULT_PEOPLE_TILE = 27; ALL_APPS_SEARCH_RESULT_LEGACY_SHORTCUT = 30; ALL_APPS_SEARCH_RESULT_ASSISTANT_MEMORY = 31; + ALL_APPS_SEARCH_RESULT_VIDEO = 41; + ALL_APPS_SEARCH_RESULT_SYSTEM_POINTER = 42; // Web suggestions provided by AGA ALL_APPS_SEARCH_RESULT_WEB_SUGGEST = 39; diff --git a/quickstep/src/com/android/quickstep/util/SplitSelectStateController.java b/quickstep/src/com/android/quickstep/util/SplitSelectStateController.java index 681f068e52..7bc65448b4 100644 --- a/quickstep/src/com/android/quickstep/util/SplitSelectStateController.java +++ b/quickstep/src/com/android/quickstep/util/SplitSelectStateController.java @@ -17,6 +17,7 @@ package com.android.quickstep.util; import static android.app.ActivityTaskManager.INVALID_TASK_ID; +import static android.app.PendingIntent.FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT; import static android.app.PendingIntent.FLAG_MUTABLE; import static com.android.launcher3.Utilities.postAsyncCallback; @@ -310,8 +311,9 @@ public class SplitSelectStateController { private PendingIntent getPendingIntent(Intent intent) { return intent == null ? null : (mUser != null ? PendingIntent.getActivityAsUser(mContext, 0, intent, - FLAG_MUTABLE, null /* options */, mUser) - : PendingIntent.getActivity(mContext, 0, intent, FLAG_MUTABLE)); + FLAG_MUTABLE | FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT, null /* options */, mUser) + : PendingIntent.getActivity(mContext, 0, intent, + FLAG_MUTABLE | FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT)); } public @StagePosition int getActiveSplitStagePosition() { diff --git a/src/com/android/launcher3/settings/SettingsActivity.java b/src/com/android/launcher3/settings/SettingsActivity.java index d2f82c2965..8d6a5cbccf 100644 --- a/src/com/android/launcher3/settings/SettingsActivity.java +++ b/src/com/android/launcher3/settings/SettingsActivity.java @@ -226,9 +226,10 @@ public class SettingsActivity extends FragmentActivity getResources().getString(R.string.search_pref_screen_title))){ DeviceProfile mDeviceProfile = InvariantDeviceProfile.INSTANCE.get( getContext()).getDeviceProfile(getContext()); - getPreferenceScreen().setTitle(mDeviceProfile.isTablet ? - R.string.search_pref_screen_title_tablet - : R.string.search_pref_screen_title); + getPreferenceScreen().setTitle(mDeviceProfile.isMultiDisplay + || mDeviceProfile.isPhone ? + R.string.search_pref_screen_title : + R.string.search_pref_screen_title_tablet); } getActivity().setTitle(getPreferenceScreen().getTitle()); }