Loading core/java/android/widget/RemoteViews.java +16 −14 Original line number Diff line number Diff line Loading @@ -2342,7 +2342,8 @@ public class RemoteViews implements Parcelable, Filter { } public synchronized RemoteViews clone() { public RemoteViews clone() { synchronized (this) { Preconditions.checkState(mIsRoot, "RemoteView has been attached to another RemoteView. " + "May only clone the root of a RemoteView hierarchy."); Loading @@ -2361,6 +2362,7 @@ public class RemoteViews implements Parcelable, Filter { p.recycle(); return rv; } } public String getPackage() { return (mApplication != null) ? mApplication.packageName : null; Loading Loading
core/java/android/widget/RemoteViews.java +16 −14 Original line number Diff line number Diff line Loading @@ -2342,7 +2342,8 @@ public class RemoteViews implements Parcelable, Filter { } public synchronized RemoteViews clone() { public RemoteViews clone() { synchronized (this) { Preconditions.checkState(mIsRoot, "RemoteView has been attached to another RemoteView. " + "May only clone the root of a RemoteView hierarchy."); Loading @@ -2361,6 +2362,7 @@ public class RemoteViews implements Parcelable, Filter { p.recycle(); return rv; } } public String getPackage() { return (mApplication != null) ? mApplication.packageName : null; Loading