Merge "Fix NPE in RemoteViews (issue 6408103)" into jb-dev

This commit is contained in:
Adam Cohen
2012-04-26 18:45:18 -07:00
committed by Android (Google) Code Review

View File

@@ -1058,7 +1058,9 @@ public class RemoteViews implements Parcelable, Filter {
public ViewGroupAction(int viewId, RemoteViews nestedViews) {
this.viewId = viewId;
this.nestedViews = nestedViews;
configureRemoteViewsAsChild(nestedViews);
if (nestedViews != null) {
configureRemoteViewsAsChild(nestedViews);
}
}
public ViewGroupAction(Parcel parcel, BitmapCache bitmapCache) {