diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-01-22 17:17:25 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-01-22 17:17:25 -0800 |
commit | 43052367c654202a1a2124d44c7b33e92331d1f4 (patch) | |
tree | 892a394cece8ddfe0ae34f8e6567743b4d531496 /src/com/android/settings/applications | |
parent | 18b64f446cd7b9043909b0cd42d1ab364392da24 (diff) | |
download | packages_apps_Settings-43052367c654202a1a2124d44c7b33e92331d1f4.zip packages_apps_Settings-43052367c654202a1a2124d44c7b33e92331d1f4.tar.gz packages_apps_Settings-43052367c654202a1a2124d44c7b33e92331d1f4.tar.bz2 |
Handle new "disabled until used" mode.
We want these apps to still show up as normal apps,
not look like they have been disabled completely (entirely
gone) or by the user (listed separately as disabled).
Change-Id: Ib58ead274a74c6df3ee87c8db5f7d0652e37b9bd
Diffstat (limited to 'src/com/android/settings/applications')
-rw-r--r-- | src/com/android/settings/applications/ApplicationsState.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/settings/applications/ApplicationsState.java b/src/com/android/settings/applications/ApplicationsState.java index 94a0aa3..1c2eb2c 100644 --- a/src/com/android/settings/applications/ApplicationsState.java +++ b/src/com/android/settings/applications/ApplicationsState.java @@ -434,9 +434,11 @@ public class ApplicationsState { // Only the owner can see all apps. if (UserHandle.myUserId() == 0) { mRetrieveFlags = PackageManager.GET_UNINSTALLED_PACKAGES | - PackageManager.GET_DISABLED_COMPONENTS; + PackageManager.GET_DISABLED_COMPONENTS | + PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS; } else { - mRetrieveFlags = PackageManager.GET_DISABLED_COMPONENTS; + mRetrieveFlags = PackageManager.GET_DISABLED_COMPONENTS | + PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS; } /** |