From 43052367c654202a1a2124d44c7b33e92331d1f4 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Tue, 22 Jan 2013 17:17:25 -0800 Subject: [PATCH] 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 --- .../android/settings/applications/ApplicationsState.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/com/android/settings/applications/ApplicationsState.java b/src/com/android/settings/applications/ApplicationsState.java index 94a0aa3c771..1c2eb2c7020 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; } /**