mirror of
https://github.com/moparisthebest/k-9
synced 2025-03-03 01:51:49 -05:00
Fixed setting names in SettingsUpgrader for version 12
This commit is contained in:
parent
4028505d69
commit
cd37ae16e1
@ -277,12 +277,12 @@ public class GlobalSettings {
|
||||
Boolean keyguardPrivacy = (Boolean) settings.get("keyguardPrivacy");
|
||||
if (keyguardPrivacy != null && keyguardPrivacy) {
|
||||
// current setting: only show subject when unlocked
|
||||
settings.put("hideSubjectMode", NotificationHideSubject.WHEN_LOCKED);
|
||||
settings.put("notificationHideSubjectMode", NotificationHideSubject.WHEN_LOCKED);
|
||||
} else {
|
||||
// always show subject [old default]
|
||||
settings.put("hideSubjectMode", NotificationHideSubject.NEVER);
|
||||
settings.put("notificationHideSubjectMode", NotificationHideSubject.NEVER);
|
||||
}
|
||||
return new HashSet<String>(Arrays.asList("hideSubjectMode"));
|
||||
return new HashSet<String>(Arrays.asList("keyguardPrivacy"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user