From: Lenka Trochtova Date: Thu, 9 Aug 2018 13:15:18 +0000 (+0200) Subject: Revert the mandatory backups feature. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2f4558d3fcf03075d687f61f8bf82260a6b3f0a4;p=android-x86%2Fpackages-apps-Settings.git Revert the mandatory backups feature. Bug: 79736299 Test: make RunSettingsGoogleRoboTests Test: make RunSettingsRoboTests Change-Id: Ie9702664c0fb4daccdee74eac6080c959fe1b608 --- diff --git a/res/values/strings.xml b/res/values/strings.xml index 2b37268a1a..c99d7adb68 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -8948,8 +8948,6 @@ Camera not allowed Screenshot not allowed - - Can’t turn off backups Can’t open this app @@ -9749,8 +9747,6 @@ %d attempt %d attempts - - This device\'s data is being backed up This device is managed by your organization. diff --git a/res/xml/enterprise_privacy_settings.xml b/res/xml/enterprise_privacy_settings.xml index 0aa1415bc3..4fa50e7aae 100644 --- a/res/xml/enterprise_privacy_settings.xml +++ b/res/xml/enterprise_privacy_settings.xml @@ -83,9 +83,6 @@ - controllers) { assertThat(controllers).isNotNull(); - assertThat(controllers.size()).isEqualTo(18); + assertThat(controllers.size()).isEqualTo(17); int position = 0; assertThat(controllers.get(position++)).isInstanceOf(NetworkLogsPreferenceController.class); assertThat(controllers.get(position++)).isInstanceOf(BugReportsPreferenceController.class); @@ -127,8 +127,6 @@ public class EnterprisePrivacySettingsTest { assertThat(controllers.get(position++)).isInstanceOf( CaCertsManagedProfilePreferenceController.class); assertThat(controllers.get(position++)).isInstanceOf( - BackupsEnabledPreferenceController.class); - assertThat(controllers.get(position++)).isInstanceOf( PreferenceCategoryController.class); assertThat(controllers.get(position++)).isInstanceOf( FailedPasswordWipeCurrentUserPreferenceController.class);