Merge "DO NOT MERGE Fix issue #3333958: Package Manager can sometimes mistakenly think..." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
febbf6e7f8
@@ -3086,7 +3086,11 @@ public class PackageParser {
|
||||
if (!sCompatibilityModeEnabled) {
|
||||
ai.disableCompatibilityMode();
|
||||
}
|
||||
ai.enabled = p.mSetEnabled == PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
|
||||
if (p.mSetEnabled == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) {
|
||||
ai.enabled = true;
|
||||
} else if (p.mSetEnabled == PackageManager.COMPONENT_ENABLED_STATE_DISABLED) {
|
||||
ai.enabled = false;
|
||||
}
|
||||
return ai;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user