Commit 94ef4778 authored by frank PREEL's avatar frank PREEL Committed by Romain Hunault

Remove backup & reset

parent 5b3418c4
......@@ -31,7 +31,8 @@
settings:controller="com.android.settings.gestures.GesturesSettingPreferenceController"/>
<!-- Backup -->
<!-- <Preference
<!--
<Preference
android:key="backup_settings"
android:title="@string/privacy_settings_title"
android:summary="@string/summary_placeholder"
......@@ -39,8 +40,8 @@
android:order="-60"
settings:controller="com.android.settings.backup.BackupSettingsActivityPreferenceController">
<intent android:action="android.settings.BACKUP_AND_RESET_SETTINGS" />
</Preference> -->
</Preference>
-->
<Preference
android:key="reset_dashboard"
android:title="@string/reset_dashboard_title"
......@@ -72,4 +73,4 @@
android:targetClass="@string/additional_system_update_menu" />
</Preference>
</PreferenceScreen>
\ No newline at end of file
</PreferenceScreen>
......@@ -82,8 +82,8 @@ public class PrivacySettings extends SettingsPreferenceFragment {
super.onCreate(savedInstanceState);
// Don't allow any access if this is not an admin user.
// TODO: backup/restore currently only works with owner user b/22760572
// /e/ Do NOT display Backup & reset item for the moment.
mEnabled = false;
// /e/ Do NOT display Backup & reset item for the moment.
mEnabled = false;//UserManager.get(getActivity()).isAdminUser();
if (!mEnabled) {
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment