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

* commit 'f0a8045e727e9bff08b4890521912afc6564a895':
  Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)
This commit is contained in:
Winson Chung
2012-10-11 17:12:26 -07:00
committed by Android Git Automerger

View File

@@ -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 {