mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Explicitly disable backups preferences when disabling encryption
This commit is contained in:
parent
fc25312d12
commit
b6093c2bfa
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ public class SecurityPreferencesFragment extends PreferencesFragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
getActivity().stopService(new Intent(getActivity(), NotificationService.class));
|
getActivity().stopService(new Intent(getActivity(), NotificationService.class));
|
||||||
|
getPreferences().setIsBackupsEnabled(false);
|
||||||
|
getPreferences().setIsAndroidBackupsEnabled(false);
|
||||||
updateEncryptionPreferences();
|
updateEncryptionPreferences();
|
||||||
})
|
})
|
||||||
.setNegativeButton(android.R.string.no, null)
|
.setNegativeButton(android.R.string.no, null)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue