summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherAppWidgetInfo.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2014-09-18 16:13:58 -0700
committerSunny Goyal <sunnygoyal@google.com>2014-09-19 12:19:07 -0700
commit9448536b113afa6ceefce26604a1b44618d1d4f2 (patch)
tree97aa642778c304862cf77ad72a3117a70d664bd8 /src/com/android/launcher3/LauncherAppWidgetInfo.java
parent136882c1950da1e5f0a24a8b6807b186a3297d8e (diff)
downloadandroid_packages_apps_Trebuchet-9448536b113afa6ceefce26604a1b44618d1d4f2.tar.gz
android_packages_apps_Trebuchet-9448536b113afa6ceefce26604a1b44618d1d4f2.tar.bz2
android_packages_apps_Trebuchet-9448536b113afa6ceefce26604a1b44618d1d4f2.zip
Adding support to delete unrestored icons and widgets
Bug: 17584719 Change-Id: If8e76fc80ea885c9004c50b7b6a9353525a50105
Diffstat (limited to 'src/com/android/launcher3/LauncherAppWidgetInfo.java')
-rw-r--r--src/com/android/launcher3/LauncherAppWidgetInfo.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/launcher3/LauncherAppWidgetInfo.java b/src/com/android/launcher3/LauncherAppWidgetInfo.java
index 50528b1bd..5c6535a24 100644
--- a/src/com/android/launcher3/LauncherAppWidgetInfo.java
+++ b/src/com/android/launcher3/LauncherAppWidgetInfo.java
@@ -46,6 +46,11 @@ public class LauncherAppWidgetInfo extends ItemInfo {
public static final int FLAG_UI_NOT_READY = 4;
/**
+ * Indicates that the widget restore has started.
+ */
+ public static final int FLAG_RESTORE_STARTED = 8;
+
+ /**
* Indicates that the widget hasn't been instantiated yet.
*/
static final int NO_ID = -1;