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:
@@ -9889,6 +9889,11 @@
|
||||
<!-- UI debug setting: preference summary - describes the behavior of forcing full raw GNSS satellite measurements [CHAR LIMIT=NONE] -->
|
||||
<string name="enable_gnss_raw_meas_full_tracking_summary">Track all GNSS constellations and frequencies with no duty cycling</string>
|
||||
|
||||
<!-- UI debug setting: preference title - allow background activity starts [CHAR LIMIT=60] -->
|
||||
<string name="allow_background_activity_starts">Allow background activity starts</string>
|
||||
<!-- UI debug setting: preference summary - describes the behavior of allowing background activity starts [CHAR LIMIT=NONE] -->
|
||||
<string name="allow_background_activity_starts_summary">Allows all background activity starts</string>
|
||||
|
||||
<!-- UI debug setting: preference title - show all crash dialogs [CHAR LIMIT=60] -->
|
||||
<string name="show_first_crash_dialog">Always show crash dialog</string>
|
||||
<!-- UI debug setting: preference summary - describes the behavior of showing a dialog every time an app crashes [CHAR LIMIT=NONE] -->
|
||||
@@ -10254,4 +10259,4 @@
|
||||
<string name="contextual_card_feedback_send">Send feedback</string>
|
||||
<!-- String for contextual card feedback dialog [CHAR LIMIT=NONE] -->
|
||||
<string name="contextual_card_feedback_confirm_message">Would you like to give us feedback on this suggestion?</string>
|
||||
</resources>
|
||||
</resources>
|
||||
|
||||
@@ -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