Explicitly disable backups preferences when disabling encryption

This commit is contained in:
Alexander Bakker 2021-05-20 21:25:34 +02:00
parent fc25312d12
commit b6093c2bfa

View file

@ -114,6 +114,8 @@ public class SecurityPreferencesFragment extends PreferencesFragment {
}
getActivity().stopService(new Intent(getActivity(), NotificationService.class));
getPreferences().setIsBackupsEnabled(false);
getPreferences().setIsAndroidBackupsEnabled(false);
updateEncryptionPreferences();
})
.setNegativeButton(android.R.string.no, null)