Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit febbf6e7 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Fix issue #3333958: Package Manager can sometimes...

Merge "DO NOT MERGE Fix issue #3333958: Package Manager can sometimes mistakenly think..." into honeycomb
parents 353634a1 1f22d2a3
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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;
    }