mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Moving various runtime flags into the common base class.
Caching the ststemApp status for workspace shortcuts. Change-Id: I25663e1f04a9768afcca000294adcbb00ea1db7b
This commit is contained in:
@@ -244,9 +244,9 @@ public class PackageUpdatedTask extends BaseModelUpdateTask {
|
||||
infoUpdated = true;
|
||||
}
|
||||
|
||||
int oldDisabledFlags = si.isDisabled;
|
||||
si.isDisabled = flagOp.apply(si.isDisabled);
|
||||
if (si.isDisabled != oldDisabledFlags) {
|
||||
int oldRuntimeFlags = si.runtimeStatusFlags;
|
||||
si.runtimeStatusFlags = flagOp.apply(si.runtimeStatusFlags);
|
||||
if (si.runtimeStatusFlags != oldRuntimeFlags) {
|
||||
shortcutUpdated = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user