From c5c60ad3592f53549c9ffaa58e9a87b0480080e8 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Mon, 14 Jul 2014 12:02:01 -0700 Subject: Merging Motorola's patch to disable apps when is safe mode. issue: 16044192 Change-Id: I10069dcdf459ecc71361271e883eabb743d77822 --- src/com/android/launcher3/ShortcutInfo.java | 6 ++++++ 1 file changed, 6 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 7e1f0d649..266e9e07f 100644 --- a/src/com/android/launcher3/ShortcutInfo.java +++ b/src/com/android/launcher3/ShortcutInfo.java @@ -78,6 +78,12 @@ public class ShortcutInfo extends ItemInfo { */ private Bitmap mIcon; + /** + * Could be disabled, if the the app is installed but unavailable (eg. in safe mode or when + * sd-card is not available). + */ + boolean isDisabled = false; + /** * The installation state of the package that this shortcut represents. */ -- cgit v1.2.3