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

Commit cf9eb11b authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Make ModemActivityInfo isValid system" am: fb9adf0d am: a7186caa

Change-Id: I6b64e1d19f19026688435f0fb45460b356059a85
parents 14fbe2c7 a7186caa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8987,6 +8987,7 @@ package android.telephony {
    method public int getSleepTimeMillis();
    method public long getTimestamp();
    method @NonNull public java.util.List<android.telephony.ModemActivityInfo.TransmitPower> getTransmitPowerInfo();
    method public boolean isValid();
    method public void writeToParcel(@NonNull android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ModemActivityInfo> CREATOR;
    field public static final int TX_POWER_LEVELS = 5; // 0x5
+2 −2
Original line number Diff line number Diff line
@@ -199,10 +199,10 @@ public final class ModemActivityInfo implements Parcelable {
    }

    /**
     * Indicate if the ModemActivityInfo is invalid due to modem's invalid reporting.
     *
     * @return {@code true} if this {@link ModemActivityInfo} record is valid,
     * {@code false} otherwise.
     *
     * @hide
     */
    public boolean isValid() {
        for (TransmitPower powerInfo : getTransmitPowerInfo()) {