Merge pull request #4711 from k9mail/account_change_marker
Don't set change marker when loading/initializing an Account instance
This commit is contained in:
commit
fde4e267e0
2 changed files with 8 additions and 0 deletions
|
@ -363,6 +363,10 @@ public class Account implements BaseAccount, StoreConfig {
|
|||
}
|
||||
|
||||
public synchronized void setDisplayCount(int displayCount) {
|
||||
if (this.displayCount == displayCount) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (displayCount != -1) {
|
||||
this.displayCount = displayCount;
|
||||
} else {
|
||||
|
|
|
@ -157,6 +157,8 @@ class AccountPreferenceSerializer(
|
|||
if (description == null) {
|
||||
description = email
|
||||
}
|
||||
|
||||
resetChangeMarkers()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -579,6 +581,8 @@ class AccountPreferenceSerializer(
|
|||
ringtone = "content://settings/system/notification_sound"
|
||||
ledColor = chipColor
|
||||
}
|
||||
|
||||
resetChangeMarkers()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue