Adding Manage External Sources Settings

Added a settings fragment to manage external sources. It lists all
applications that have either requested REQUEST_INSTALL_PACKAGES or have
their app op changed from default.

Test: Will include in follow-up CL. Tracked in b/33792674

Bug: 31002700
Change-Id: Ibd2a1922be214b62aec4eefa45f7b9691256b205
This commit is contained in:
Suprabh Shukla
2016-12-16 14:44:05 -08:00
parent 27cb8b4a65
commit 57d92315a4
8 changed files with 345 additions and 0 deletions

View File

@@ -92,4 +92,15 @@
android:name="classname"
android:value="com.android.settings.Settings$UsageAccessSettingsActivity" />
</Preference>
<Preference
android:key="manage_external_sources"
android:title="@string/install_other_apps"
android:fragment="com.android.settings.applications.ManageApplications"
settings:keywords="@string/keywords_install_other_apps">
<extra
android:name="classname"
android:value="com.android.settings.Settings$ManageExternalSourcesActivity" />
</Preference>
</PreferenceScreen>