Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd0c1846 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "fix the issue widget id wasn't being migrated in backup"

parents f8d7e342 7aaaa355
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -106,7 +106,8 @@ public class AppWidgetsRestoredReceiver extends BroadcastReceiver {
                }
            }
            // attempt to update widget id in backup table as well
            new ContentWriter(context, ContentWriter.CommitParams.backupCommitParams(where, args))
            new ContentWriter(context, ContentWriter.CommitParams.backupCommitParams(
                    "appWidgetId=? and profileId=?", args))
                    .put(LauncherSettings.Favorites.APPWIDGET_ID, newWidgetIds[i])
                    .put(LauncherSettings.Favorites.RESTORED, state)
                    .commit();