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

Commit b5e05cff authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Gerrit Code Review
Browse files

Merge "Fixing parcel leaks to avoid virtual memory leak"

parents b02dadd4 db1a9a38
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1188,6 +1188,7 @@ class ApplicationThreadProxy implements IApplicationThread {
        data.writeInt(level);
        mRemote.transact(SCHEDULE_TRIM_MEMORY_TRANSACTION, data, null,
                IBinder.FLAG_ONEWAY);
        data.recycle();
    }

    public void dumpMemInfo(FileDescriptor fd, Debug.MemoryInfo mem, boolean checkin,
+3 −1
Original line number Diff line number Diff line
@@ -1709,7 +1709,9 @@ public class RemoteViews implements Parcelable, Filter {
        Parcel p = Parcel.obtain();
        writeToParcel(p, 0);
        p.setDataPosition(0);
        return new RemoteViews(p);
        RemoteViews rv = new RemoteViews(p);
        p.recycle();
        return rv;
    }

    public String getPackage() {