Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Remove backup & reset

parent 5b3418c4
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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"
+2 −2
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ public class PrivacySettings extends SettingsPreferenceFragment {
        // 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;
        mEnabled = false;//UserManager.get(getActivity()).isAdminUser();
        if (!mEnabled) {
            return;
        }