From ff05f4375dd47242d7e4864287e0d5af8ac8ba8f Mon Sep 17 00:00:00 2001 From: Kenny Guy Date: Fri, 22 Jan 2016 17:48:29 +0000 Subject: Respond to managed profile availabilty Intents. Grey out applications when managed profile is not available. Change-Id: I9bb9442cd0b3d0d207062716bfd6b179e3ba8489 --- src/com/android/launcher3/ShortcutInfo.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/com/android/launcher3/ShortcutInfo.java') diff --git a/src/com/android/launcher3/ShortcutInfo.java b/src/com/android/launcher3/ShortcutInfo.java index 0d6708bfc..a70a395ae 100644 --- a/src/com/android/launcher3/ShortcutInfo.java +++ b/src/com/android/launcher3/ShortcutInfo.java @@ -116,6 +116,11 @@ public class ShortcutInfo extends ItemInfo { */ public static final int FLAG_DISABLED_SUSPENDED = 4; + /** + * Indicates that the icon is disabled as the user is in quiet mode. + */ + public static final int FLAG_DISABLED_QUIET_USER = 8; + /** * Could be disabled, if the the app is installed but unavailable (eg. in safe mode or when * sd-card is not available). -- cgit v1.2.3