Remove intent-filter from PrivacySettingsActivity
BackupSettingsActivity should be the only activity listenting to the BACKUP_AND_RESET_SETTINGS intent. It then decides which acitivity to launch. Bug: 35237721 Test: make SettingsUnitTests Change-Id: I2021ec57e08c305771dd040c52725065597fd042
This commit is contained in:
@@ -1342,11 +1342,6 @@
|
||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
||||
android:taskAffinity="com.android.settings"
|
||||
android:parentActivityName="Settings">
|
||||
<intent-filter android:priority="1">
|
||||
<action android:name="android.settings.PRIVACY_SETTINGS" />
|
||||
<action android:name="android.settings.BACKUP_AND_RESET_SETTINGS" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
|
||||
Reference in New Issue
Block a user