summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/provider
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-07-12 12:09:37 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-07-12 12:14:29 -0700
commitf5b4b8097239411bdad28be71d50ae883bd82278 (patch)
treec1f49e4b2235f329a8db0ea34d2ed3ec170a4a38 /src/com/android/launcher3/provider
parenta9f4bffbfc9802ca86a813de2bccea9572f710af (diff)
downloadandroid_packages_apps_Trebuchet-f5b4b8097239411bdad28be71d50ae883bd82278.tar.gz
android_packages_apps_Trebuchet-f5b4b8097239411bdad28be71d50ae883bd82278.tar.bz2
android_packages_apps_Trebuchet-f5b4b8097239411bdad28be71d50ae883bd82278.zip
Fixing widget id restore broadcast.
Ignoring thw broadcast if its not for the main widget host, or if the Launcher DB is already in use. Launcher already handles missing widget-Id map broadcast, by binding a new widgetId at runtime. Bug: 63389280 Change-Id: Iaa9774d6d7adde3711cba9615328020e2b2e66aa
Diffstat (limited to 'src/com/android/launcher3/provider')
-rw-r--r--src/com/android/launcher3/provider/RestoreDbTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/provider/RestoreDbTask.java b/src/com/android/launcher3/provider/RestoreDbTask.java
index 00e2644a5..523016008 100644
--- a/src/com/android/launcher3/provider/RestoreDbTask.java
+++ b/src/com/android/launcher3/provider/RestoreDbTask.java
@@ -134,7 +134,7 @@ public class RestoreDbTask {
}
public static void setPending(Context context, boolean isPending) {
- FileLog.d(TAG, "Restore data received through full backup");
+ FileLog.d(TAG, "Restore data received through full backup " + isPending);
Utilities.getPrefs(context).edit().putBoolean(RESTORE_TASK_PENDING, isPending).commit();
}
}