Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2df8dee authored by Ashwini Oruganti's avatar Ashwini Oruganti
Browse files

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
parent 72fcef13
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -536,7 +536,8 @@
        <activity android:name=".SlicePermissionActivity"
            android:theme="@style/Theme.SystemUI.Dialog.Alert"
            android:finishOnCloseSystemDialogs="true"
            android:excludeFromRecents="true">
            android:excludeFromRecents="true"
            android:exported="true">
            <intent-filter>
                <action android:name="com.android.intent.action.REQUEST_SLICE_PERMISSION" />
            </intent-filter>
@@ -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">
            <intent-filter android:priority="1">
                <action android:name="android.settings.FOREGROUND_SERVICES_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
@@ -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">
            <intent-filter>
                <action android:name="android.intent.action.CHOOSER" />
                <category android:name="android.intent.category.VOICE" />
@@ -726,7 +729,8 @@
        </provider>

        <receiver
            android:name=".statusbar.KeyboardShortcutsReceiver">
            android:name=".statusbar.KeyboardShortcutsReceiver"
            android:exported="true">
            <intent-filter>
                <action android:name="com.android.intent.action.DISMISS_KEYBOARD_SHORTCUTS" />
                <action android:name="com.android.intent.action.SHOW_KEYBOARD_SHORTCUTS" />
+2 −1
Original line number Diff line number Diff line
@@ -56,7 +56,8 @@
    <application android:debuggable="true" android:largeHeap="true">
        <uses-library android:name="android.test.runner" />

        <receiver android:name="com.android.systemui.SliceBroadcastRelayHandlerTest$Receiver">
        <receiver android:name="com.android.systemui.SliceBroadcastRelayHandlerTest$Receiver"
            android:exported="true">
            <intent-filter>
                <action android:name="com.android.systemui.action.TEST_ACTION" />
            </intent-filter>