diff --git a/api/system-current.txt b/api/system-current.txt index 9b62fcc03313a..b0fe30525f7d1 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -8987,6 +8987,7 @@ package android.telephony { method public int getSleepTimeMillis(); method public long getTimestamp(); method @NonNull public java.util.List getTransmitPowerInfo(); + method public boolean isValid(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; field public static final int TX_POWER_LEVELS = 5; // 0x5 diff --git a/telephony/java/android/telephony/ModemActivityInfo.java b/telephony/java/android/telephony/ModemActivityInfo.java index aee7cca752522..bd2375f7d2972 100644 --- a/telephony/java/android/telephony/ModemActivityInfo.java +++ b/telephony/java/android/telephony/ModemActivityInfo.java @@ -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()) {