diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2014-07-18 23:57:03 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-18 18:24:25 +0000 |
commit | ebf50c93b0d1a4f12329c92a3873a8409c566c7e (patch) | |
tree | 40204b256848468ced177ab249144dbab9420280 /src/com/android/launcher3/ShortcutInfo.java | |
parent | cc83d8dbfe2d99d95d9cf651c9559093d3c89c1e (diff) | |
parent | c5c60ad3592f53549c9ffaa58e9a87b0480080e8 (diff) | |
download | android_packages_apps_Trebuchet-ebf50c93b0d1a4f12329c92a3873a8409c566c7e.tar.gz android_packages_apps_Trebuchet-ebf50c93b0d1a4f12329c92a3873a8409c566c7e.tar.bz2 android_packages_apps_Trebuchet-ebf50c93b0d1a4f12329c92a3873a8409c566c7e.zip |
Merge "Merging Motorola's patch to disable apps when is safe mode." into ub-now-master
Diffstat (limited to 'src/com/android/launcher3/ShortcutInfo.java')
-rw-r--r-- | src/com/android/launcher3/ShortcutInfo.java | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -79,6 +79,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. */ protected int mState; |