From 121eaa7d3e7497c3595ecce651085eee9bb4be1f Mon Sep 17 00:00:00 2001 From: Alan Stokes Date: Tue, 21 May 2019 15:12:16 +0100 Subject: [PATCH] Cleanup background activity starts for release. This removes the parts of the feature that were only needed in beta releases: - Develper setting to force feature on or off. Not to be submitted until after beta 5 is cut. Bug: 131747138 Test: Still builds, developer settings still works. Change-Id: I573761174317797aeb4df97cf1a2b1ce005c0715 --- res/values/strings.xml | 5 - res/xml/development_settings.xml | 5 - ...undActivityStartsPreferenceController.java | 91 ---------- .../DevelopmentSettingsDashboardFragment.java | 1 - ...ctivityStartsPreferenceControllerTest.java | 159 ------------------ 5 files changed, 261 deletions(-) delete mode 100644 src/com/android/settings/development/AllowBackgroundActivityStartsPreferenceController.java delete mode 100644 tests/robotests/src/com/android/settings/development/AllowBackgroundActivityStartsPreferenceControllerTest.java diff --git a/res/values/strings.xml b/res/values/strings.xml index 171fe42d2cd..805a1d2d726 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -10594,11 +10594,6 @@ Track all GNSS constellations and frequencies with no duty cycling - - Allow background activity starts - - Allows all background activity starts - Always show crash dialog diff --git a/res/xml/development_settings.xml b/res/xml/development_settings.xml index c537f3fa26b..33dba2fe437 100644 --- a/res/xml/development_settings.xml +++ b/res/xml/development_settings.xml @@ -502,11 +502,6 @@ android:fragment="com.android.settings.applications.appops.BackgroundCheckSummary" android:title="@string/background_check_pref" /> - -