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

Commit 97c7930d authored by Matthew Sedam's avatar Matthew Sedam Committed by Android (Google) Code Review
Browse files

Merge "Hide NanoAppMessage setters" into main

parents 9b4ddc0b 4fd23479
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -6192,8 +6192,6 @@ package android.hardware.location {
    method public long getNanoAppId();
    method public boolean isBroadcastMessage();
    method @FlaggedApi("android.chre.flags.reliable_message") public boolean isReliable();
    method @FlaggedApi("android.chre.flags.reliable_message") public void setIsReliable(boolean);
    method @FlaggedApi("android.chre.flags.reliable_message") public void setMessageSequenceNumber(int);
    method public void writeToParcel(android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.hardware.location.NanoAppMessage> CREATOR;
  }
+4 −2
Original line number Diff line number Diff line
@@ -164,16 +164,18 @@ public final class NanoAppMessage implements Parcelable {

    /**
     * Sets the isReliable field of the message
     *
     * @hide
     */
    @FlaggedApi(Flags.FLAG_RELIABLE_MESSAGE)
    public void setIsReliable(boolean isReliable) {
        mIsReliable = isReliable;
    }

    /**
     * Sets the message sequence number of the message
     *
     * @hide
     */
    @FlaggedApi(Flags.FLAG_RELIABLE_MESSAGE)
    public void setMessageSequenceNumber(int messageSequenceNumber) {
        mMessageSequenceNumber = messageSequenceNumber;
    }