Renaming intent action for unknown sources
Renaming action MANAGE_EXTERNAL_SOURCES to MANAGE_UNKNOWN_APP_SOURCES to be clearer about its purpose Test: adb shell am instrument -w -e class \ com.android.settings.applications.ExternalSourcesSettingsTest \ com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner cts-tradefed run singleCommand cts -m ExternalSources Bug: 35812498 Change-Id: Ic6db5b3446c1890a358f5b5225d38409d1bd2c7c
This commit is contained in:
@@ -2863,7 +2863,7 @@
|
||||
android:label="@string/install_other_apps"
|
||||
android:taskAffinity="">
|
||||
<intent-filter android:priority="1">
|
||||
<action android:name="android.settings.action.MANAGE_EXTERNAL_SOURCES" />
|
||||
<action android:name="android.settings.action.MANAGE_UNKNOWN_APP_SOURCES" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
|
||||
@@ -2874,7 +2874,7 @@
|
||||
android:label="@string/install_other_apps"
|
||||
android:taskAffinity="">
|
||||
<intent-filter android:priority="1">
|
||||
<action android:name="android.settings.action.MANAGE_EXTERNAL_SOURCES" />
|
||||
<action android:name="android.settings.action.MANAGE_UNKNOWN_APP_SOURCES" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:scheme="package" />
|
||||
</intent-filter>
|
||||
|
@@ -93,7 +93,7 @@ public class ExternalSourcesSettingsTest {
|
||||
|
||||
private Intent createManageExternalSourcesListIntent() {
|
||||
final Intent manageExternalSourcesIntent = new Intent();
|
||||
manageExternalSourcesIntent.setAction(Settings.ACTION_MANAGE_EXTERNAL_SOURCES);
|
||||
manageExternalSourcesIntent.setAction(Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES);
|
||||
return manageExternalSourcesIntent;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user