mirror of
https://github.com/moparisthebest/k-9
synced 2025-03-03 18:12:13 -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");
|
Boolean keyguardPrivacy = (Boolean) settings.get("keyguardPrivacy");
|
||||||
if (keyguardPrivacy != null && keyguardPrivacy) {
|
if (keyguardPrivacy != null && keyguardPrivacy) {
|
||||||
// current setting: only show subject when unlocked
|
// current setting: only show subject when unlocked
|
||||||
settings.put("hideSubjectMode", NotificationHideSubject.WHEN_LOCKED);
|
settings.put("notificationHideSubjectMode", NotificationHideSubject.WHEN_LOCKED);
|
||||||
} else {
|
} else {
|
||||||
// always show subject [old default]
|
// 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