Do not clear the changed view when there is an update to RemoteViews
The way we are stashing the pending updates should follow the behavior pattern as that shown in AppWidgetServiceImpl Fix: 277120633 Test: Manual Change-Id: I92b3edb078b30873c2ef1b9fe408cbb76a34e135
This commit is contained in:
@@ -155,7 +155,6 @@ public final class QuickstepWidgetHolder extends LauncherWidgetHolder {
|
||||
} else if (KEY_VIEWS_UPDATE.equals(key)) {
|
||||
// For views update, remove all previous updates, except the provider
|
||||
pendingUpdate.remoteViews = (RemoteViews) data;
|
||||
pendingUpdate.changedViews.clear();
|
||||
} else if (KEY_VIEW_DATA_CHANGED.equals(key)) {
|
||||
pendingUpdate.changedViews.add((Integer) data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user