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

Commit e860e67e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "IBinder.transact: clarify return" am: 2794ff0c am: 5e19eaf0 am:...

Merge "IBinder.transact: clarify return" am: 2794ff0c am: 5e19eaf0 am: 83de9444 am: 99516671

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1990775

Change-Id: Iad269c7c584a2a84117d2a3c949c587a8b08122a
parents 828b8dd7 99516671
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -293,7 +293,10 @@ public interface IBinder {
     *
     * @return Returns the result from {@link Binder#onTransact}.  A successful call
     * generally returns true; false generally means the transaction code was not
     * understood.
     * understood.  For a oneway call to a different process false should never be
     * returned.  If a oneway call is made to code in the same process (usually to
     * a C++ or Rust implementation), then there are no oneway semantics, and
     * false can still be returned.
     */
    public boolean transact(int code, @NonNull Parcel data, @Nullable Parcel reply, int flags)
        throws RemoteException;