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

Commit 69477197 authored by Dhavalkumar Chaudhary's avatar Dhavalkumar Chaudhary Committed by Android (Google) Code Review
Browse files

Merge "Parcelled/un-parcel the boolean variable in holder to skip refCounts...

Merge "Parcelled/un-parcel the boolean variable in holder to skip refCounts for unstable connections" into main
parents f6b01813 92cc5b1d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ public class ContentProviderHolder implements Parcelable {
        dest.writeStrongBinder(connection);
        dest.writeInt(noReleaseNeeded ? 1 : 0);
        dest.writeInt(mLocal ? 1 : 0);
        dest.writeInt(noReleaseNeededIfUnstable ? 1 : 0);
    }

    public static final @android.annotation.NonNull Parcelable.Creator<ContentProviderHolder> CREATOR
@@ -89,5 +90,6 @@ public class ContentProviderHolder implements Parcelable {
        connection = source.readStrongBinder();
        noReleaseNeeded = source.readInt() != 0;
        mLocal = source.readInt() != 0;
        noReleaseNeededIfUnstable = source.readInt() != 0;
    }
}