Merge "Guard against null object in scheduleNotifyUpdateAppWidgetLocked" into nyc-mr1-dev

This commit is contained in:
Rubin Xu
2016-07-12 16:37:54 +00:00
committed by Android (Google) Code Review

View File

@@ -1905,7 +1905,7 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
SomeArgs args = SomeArgs.obtain();
args.arg1 = widget.host;
args.arg2 = widget.host.callbacks;
args.arg3 = updateViews.clone();
args.arg3 = (updateViews != null) ? updateViews.clone() : null;
args.arg4 = requestTime;
args.argi1 = widget.appWidgetId;