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

Commit aa9fe03d authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

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
parent ad69c467
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }