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

Commit 3de571e1 authored by Steven Moreland's avatar Steven Moreland
Browse files

ParcelFileDescriptor: warn about comm int coupling.

If these values are ever changed (or their parceling), we'll also need
to update libbinder.

Bug: 115607973
Test: N/A
Change-Id: Id9c594ea039687855047c005a0c3a9bfe0002732
parent c02d53b0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1092,6 +1092,9 @@ public class ParcelFileDescriptor implements Parcelable, Closeable {
    /**
     * Internal class representing a remote status read by
     * {@link ParcelFileDescriptor#readCommStatus(FileDescriptor, byte[])}.
     *
     * Warning: this must be kept in sync with ParcelFileDescriptorStatus at
     * frameworks/native/libs/binder/Parcel.cpp
     */
    private static class Status {
        /** Special value indicating remote side died. */