diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2014-08-27 14:04:33 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2014-08-27 14:07:05 -0700 |
commit | e7b8cd9e4f8d38d0445f3a032fafd44332f70878 (patch) | |
tree | bb9107583e21133d9912b49b83af2e69052a21a7 /src/com/android/launcher3/LauncherAppWidgetInfo.java | |
parent | 424418bb50ccf5d9270650b70cc51f423da51a65 (diff) | |
download | android_packages_apps_Trebuchet-e7b8cd9e4f8d38d0445f3a032fafd44332f70878.tar.gz android_packages_apps_Trebuchet-e7b8cd9e4f8d38d0445f3a032fafd44332f70878.tar.bz2 android_packages_apps_Trebuchet-e7b8cd9e4f8d38d0445f3a032fafd44332f70878.zip |
Improving restored widget behavior
> Clicking a broken widget install shows a dialog similar
to an app icon
> Clicking remove on the dialog removed all components
for the corresponding package
> Widget pending view shows 'Setup' text instead of icon,
if there is enough space
Change-Id: I82ec0a1ee9542c1e3b860e6e00798a80450dce3c
Diffstat (limited to 'src/com/android/launcher3/LauncherAppWidgetInfo.java')
-rw-r--r-- | src/com/android/launcher3/LauncherAppWidgetInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/LauncherAppWidgetInfo.java b/src/com/android/launcher3/LauncherAppWidgetInfo.java index 47554824f..50528b1bd 100644 --- a/src/com/android/launcher3/LauncherAppWidgetInfo.java +++ b/src/com/android/launcher3/LauncherAppWidgetInfo.java @@ -70,7 +70,7 @@ public class LauncherAppWidgetInfo extends ItemInfo { /** * Indicates the installation progress of the widget provider */ - int installProgress; + int installProgress = -1; private boolean mHasNotifiedInitialWidgetSizeChanged; |