Hide CellularBatteryStats#getTxTimeMillis.

Will be re-exposed as SystemApi in S.

Test: TH
Bug: 152247297
Change-Id: Ifb87676fa5afd2720dd09f36f3ff67c1b215b676
This commit is contained in:
Amit Mahajan
2020-03-23 15:15:17 -07:00
parent 51c178ae43
commit 9bfde0e1fd
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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(