OSDN Git Service

Keeping icons in disabled state when SD-card is unmounted
authorSunny Goyal <sunnygoyal@google.com>
Thu, 2 Oct 2014 22:58:31 +0000 (15:58 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Wed, 8 Oct 2014 18:07:11 +0000 (11:07 -0700)
commit1a745e8f18e54aff152ff51743ae7595adde6927
tree5c178bfb3a51c96f4c036dc4eaa05625fd59cccb
parentb50cc8c5d6125715b139d978887830a5341971aa
Keeping icons in disabled state when SD-card is unmounted

> changing shortcutInfo.isDisabled to be a flag based variable
> on received OnPackageUnavailable, icons are disabled from desktop
instead of being removed. Icons in all apps are removed

Bug: 15852084
Bug: 16238283
Change-Id: I126d23c709682a917d4bbb84de71032593dce8f9
res/values/strings.xml
src/com/android/launcher3/AllAppsList.java
src/com/android/launcher3/BubbleTextView.java
src/com/android/launcher3/Launcher.java
src/com/android/launcher3/LauncherModel.java
src/com/android/launcher3/ShortcutInfo.java
src/com/android/launcher3/Workspace.java
src/com/android/launcher3/compat/LauncherAppsCompat.java
src/com/android/launcher3/compat/LauncherAppsCompatV16.java