From c2df8deeb1b3ab51b30a97320310f42e807fc14b Mon Sep 17 00:00:00 2001 From: Ashwini Oruganti Date: Tue, 10 Mar 2020 14:20:54 -0700 Subject: [PATCH] SystemUI: Add an exported flag in manifest With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for S+. This change adds the value reflecting the previous default to the manifest. Bug: 150232615 Test: TH Change-Id: Ic7b6a56a1a258b5995cc97c3e690c2cf203a77d8 --- packages/SystemUI/AndroidManifest.xml | 12 ++++++++---- packages/SystemUI/tests/AndroidManifest.xml | 3 ++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index 617ed4e58e774..2c8f9b416de5a 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -536,7 +536,8 @@ + android:excludeFromRecents="true" + android:exported="true"> @@ -645,7 +646,8 @@ android:process=":fgservices" android:excludeFromRecents="true" android:launchMode="singleTop" - android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog"> + android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog" + android:exported="true"> @@ -660,7 +662,8 @@ android:relinquishTaskIdentity="true" android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation|keyboard|keyboardHidden" android:process=":ui" - android:visibleToInstantApps="true"> + android:visibleToInstantApps="true" + android:exported="true"> @@ -726,7 +729,8 @@ + android:name=".statusbar.KeyboardShortcutsReceiver" + android:exported="true"> diff --git a/packages/SystemUI/tests/AndroidManifest.xml b/packages/SystemUI/tests/AndroidManifest.xml index 12c704881909e..10981b7ea8fa5 100644 --- a/packages/SystemUI/tests/AndroidManifest.xml +++ b/packages/SystemUI/tests/AndroidManifest.xml @@ -56,7 +56,8 @@ - +