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

Commit 596b1850 authored by Winson Chung's avatar Winson Chung
Browse files

Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)

Change-Id: Ie19b629deea9133800df265a2cebedc8bcb2a74d
parent e1f4ebf5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -996,7 +996,7 @@ class AppWidgetServiceImpl {
        // drop unbound appWidgetIds (shouldn't be possible under normal circumstances)
        if (id != null && id.provider != null && !id.provider.zombie && !id.host.zombie) {

            if (!isPartialUpdate) {
            if (!isPartialUpdate || id.views == null) {
                // For a full update we replace the RemoteViews completely.
                id.views = views;
            } else {