mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Don't rely on FolderClass implementation details outside of FolderClass
This commit is contained in:
parent
7572c7c914
commit
bcb1131cb5
@ -1407,9 +1407,10 @@ public class LocalStore extends Store implements Serializable
|
|||||||
super.setLastPush(lastPushed);
|
super.setLastPush(lastPushed);
|
||||||
mInTopGroup = topGroup ==1 ? true : false;
|
mInTopGroup = topGroup ==1 ? true : false;
|
||||||
mIntegrate = integrate == 1 ? true : false;
|
mIntegrate = integrate == 1 ? true : false;
|
||||||
mDisplayClass = Folder.FolderClass.valueOf(displayClass == null?"NO_CLASS":displayClass);
|
String noClass = FolderClass.NO_CLASS.toString();
|
||||||
mPushClass = Folder.FolderClass.valueOf(pushClass == null?"NO_CLASS":pushClass);
|
mDisplayClass = Folder.FolderClass.valueOf((displayClass == null) ? noClass : displayClass);
|
||||||
mSyncClass = Folder.FolderClass.valueOf(syncClass == null?"NO_CLASS":syncClass);
|
mPushClass = Folder.FolderClass.valueOf((pushClass == null) ? noClass : pushClass);
|
||||||
|
mSyncClass = Folder.FolderClass.valueOf((syncClass == null) ? noClass : syncClass);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user