Add exported flags in manifest
Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present Change-Id: I2ce2b2cd1dcd69e343ae8577587483b19d825fdc
This commit is contained in:
committed by
Timi Rautamäki
parent
7d134a7047
commit
f103c56988
@@ -86,6 +86,7 @@
|
|||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
|
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="true"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden"
|
android:windowSoftInputMode="stateAlwaysHidden"
|
||||||
android:theme="@style/NoDisplay">
|
android:theme="@style/NoDisplay">
|
||||||
|
|
||||||
@@ -102,6 +103,7 @@
|
|||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:configChanges="mcc|mnc"
|
android:configChanges="mcc|mnc"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="false"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
|
<action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
|
||||||
@@ -114,6 +116,7 @@
|
|||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:configChanges="mcc|mnc"
|
android:configChanges="mcc|mnc"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="false"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" />
|
<action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" />
|
||||||
@@ -126,6 +129,7 @@
|
|||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:configChanges="mcc|mnc"
|
android:configChanges="mcc|mnc"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="false"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" />
|
<action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" />
|
||||||
@@ -138,6 +142,7 @@
|
|||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:configChanges="mcc|mnc"
|
android:configChanges="mcc|mnc"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="false"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" />
|
<action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" />
|
||||||
@@ -228,6 +233,7 @@
|
|||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:configChanges="mcc|mnc"
|
android:configChanges="mcc|mnc"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="true"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE"/>
|
<action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE"/>
|
||||||
@@ -239,6 +245,7 @@
|
|||||||
android:label="@string/activity_label_empty"
|
android:label="@string/activity_label_empty"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="true"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC"/>
|
<action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC"/>
|
||||||
@@ -251,6 +258,7 @@
|
|||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:configChanges="mcc|mnc"
|
android:configChanges="mcc|mnc"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="true"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
|
<action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
|
||||||
@@ -289,6 +297,7 @@
|
|||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:configChanges="mcc|mnc"
|
android:configChanges="mcc|mnc"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="true"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP"/>
|
<action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP"/>
|
||||||
@@ -301,6 +310,7 @@
|
|||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:configChanges="mcc|mnc"
|
android:configChanges="mcc|mnc"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="true"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
|
<action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
|
||||||
@@ -312,6 +322,7 @@
|
|||||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
|
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:immersive="true"
|
android:immersive="true"
|
||||||
|
android:exported="false"
|
||||||
android:label="@@string/activity_label_empty"
|
android:label="@@string/activity_label_empty"
|
||||||
android:theme="@style/NoDisplay">
|
android:theme="@style/NoDisplay">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
@@ -328,7 +339,8 @@
|
|||||||
android:launchMode="singleInstance"
|
android:launchMode="singleInstance"
|
||||||
android:theme="@style/NoDisplay"/>
|
android:theme="@style/NoDisplay"/>
|
||||||
|
|
||||||
<receiver android:name=".PartnerReceiver">
|
<receiver android:name=".PartnerReceiver"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
|
<action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
|
||||||
<action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
|
<action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
|
||||||
|
Reference in New Issue
Block a user