Moving various runtime flags into the common base class.
Caching the ststemApp status for workspace shortcuts. Change-Id: I25663e1f04a9768afcca000294adcbb00ea1db7b
This commit is contained in:
1 parent
9d341964a0
commit
076839c321
11 files changed
+110
-104
No files matched your search
@@ -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