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

Commit ef36a549 authored by Winson Chung's avatar Winson Chung Committed by Android Git Automerger
Browse files

am f0a8045e: am ee0d8deb: Merge "Skip merge and assign RemoteViews directly if...

am f0a8045e: am ee0d8deb: Merge "Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)" into jb-mr1-dev

* commit 'f0a8045e':
  Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)
parents cf19242d f0a8045e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -996,7 +996,7 @@ class AppWidgetServiceImpl {
        // drop unbound appWidgetIds (shouldn't be possible under normal circumstances)
        // drop unbound appWidgetIds (shouldn't be possible under normal circumstances)
        if (id != null && id.provider != null && !id.provider.zombie && !id.host.zombie) {
        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.
                // For a full update we replace the RemoteViews completely.
                id.views = views;
                id.views = views;
            } else {
            } else {