Add a developer option to allow all background activity starts
Test: make RunSettingsRoboTests ROBOTEST_FILTER=AllowBackgroundActivityStartsPreferenceControllerTest Bug: 110956953 Change-Id: I45db536d8a60aa6c3a81c01b93ff8e13bf52a77b
This commit is contained in:
@@ -484,6 +484,11 @@
|
||||
android:fragment="com.android.settings.applications.appops.BackgroundCheckSummary"
|
||||
android:title="@string/background_check_pref" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="allow_background_activity_starts"
|
||||
android:title="@string/allow_background_activity_starts"
|
||||
android:summary="@string/allow_background_activity_starts_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="show_first_crash_dialog"
|
||||
android:title="@string/show_first_crash_dialog"
|
||||
|
||||
Reference in New Issue
Block a user