Merge "Handle new "disabled until used" mode."
This commit is contained in:
committed by
Android (Google) Code Review
commit
5744019051
@@ -434,9 +434,11 @@ public class ApplicationsState {
|
|||||||
// Only the owner can see all apps.
|
// Only the owner can see all apps.
|
||||||
if (UserHandle.myUserId() == 0) {
|
if (UserHandle.myUserId() == 0) {
|
||||||
mRetrieveFlags = PackageManager.GET_UNINSTALLED_PACKAGES |
|
mRetrieveFlags = PackageManager.GET_UNINSTALLED_PACKAGES |
|
||||||
PackageManager.GET_DISABLED_COMPONENTS;
|
PackageManager.GET_DISABLED_COMPONENTS |
|
||||||
|
PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS;
|
||||||
} else {
|
} else {
|
||||||
mRetrieveFlags = PackageManager.GET_DISABLED_COMPONENTS;
|
mRetrieveFlags = PackageManager.GET_DISABLED_COMPONENTS |
|
||||||
|
PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user