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

Commit 9bfde0e1 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Hide CellularBatteryStats#getTxTimeMillis.

Will be re-exposed as SystemApi in S.

Test: TH
Bug: 152247297
Change-Id: Ifb87676fa5afd2720dd09f36f3ff67c1b215b676
parent 51c178ae
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8755,7 +8755,6 @@ package android.os.connectivity {
    method public long getSleepTimeMillis();
    method @NonNull public long getTimeInRatMicros(int);
    method @NonNull public long getTimeInRxSignalStrengthLevelMicros(@IntRange(from=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, to=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_GREAT) int);
    method @NonNull public long getTxTimeMillis(@IntRange(from=android.telephony.ModemActivityInfo.TX_POWER_LEVEL_0, to=android.telephony.ModemActivityInfo.TX_POWER_LEVEL_4) int);
    method public void writeToParcel(@NonNull android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.os.connectivity.CellularBatteryStats> CREATOR;
  }
+2 −0
Original line number Diff line number Diff line
@@ -315,6 +315,8 @@ public final class CellularBatteryStats implements Parcelable {
     * <li> index 3 = 15dBm < tx_power < 20dBm. </li>
     * <li> index 4 = tx_power > 20dBm. </li>
     * </ul>
     *
     * @hide
     */
    @NonNull
    public long getTxTimeMillis(