Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23bb5bf2 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Revert accidental API change to RemoteViews.

This reverts commit 7f09ce1a (but 
retains the bug fix)

Change-Id: Ib4700ada5aa0b5dab7e43f895b48eb7058308869
Fixes: 62543637
Bug: 62181033
parent 2a0b423c
Loading
Loading
Loading
Loading
+16 −14
Original line number Diff line number Diff line
@@ -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.");

@@ -2361,6 +2362,7 @@ public class RemoteViews implements Parcelable, Filter {
            p.recycle();
            return rv;
        }
    }

    public String getPackage() {
        return (mApplication != null) ? mApplication.packageName : null;