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

Commit ee24e3f5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Capture unused return value in `Message.sendToTarget()`." into main

parents be765148 f1b91b3c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -557,7 +557,8 @@ public final class Message implements Parcelable {
     * Throws a null pointer exception if this field has not been set.
     */
    public void sendToTarget() {
        target.sendMessage(this);
        // We have no use for the return value, so ignore it.
        boolean unused = target.sendMessage(this);
    }

    /**