FileDocCategorySizeDatePackage
PackageUserState.javaAPI DocAndroid 5.1 API1917Thu Mar 12 22:22:10 GMT 2015android.content.pm

PackageUserState

public class PackageUserState extends Object
Per-user state information about a package.
hide

Fields Summary
public boolean
stopped
public boolean
notLaunched
public boolean
installed
public boolean
hidden
public int
enabled
public boolean
blockUninstall
public String
lastDisableAppCaller
public android.util.ArraySet
disabledComponents
public android.util.ArraySet
enabledComponents
Constructors Summary
public PackageUserState()

        installed = true;
        hidden = false;
        enabled = COMPONENT_ENABLED_STATE_DEFAULT;
    
public PackageUserState(PackageUserState o)

        installed = o.installed;
        stopped = o.stopped;
        notLaunched = o.notLaunched;
        enabled = o.enabled;
        hidden = o.hidden;
        lastDisableAppCaller = o.lastDisableAppCaller;
        disabledComponents = o.disabledComponents != null
                ? new ArraySet<String>(o.disabledComponents) : null;
        enabledComponents = o.enabledComponents != null
                ? new ArraySet<String>(o.enabledComponents) : null;
        blockUninstall = o.blockUninstall;
    
Methods Summary