Merge "Fix wrong count return for getPhoneSignalStrengthCount"
This commit is contained in:
@@ -2302,8 +2302,8 @@ public final class BatteryStatsImpl extends BatteryStats {
|
|||||||
batteryRealtime, which);
|
batteryRealtime, which);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public int getPhoneSignalStrengthCount(int dataType, int which) {
|
@Override public int getPhoneSignalStrengthCount(int strengthBin, int which) {
|
||||||
return mPhoneDataConnectionsTimer[dataType].getCountLocked(which);
|
return mPhoneSignalStrengthsTimer[strengthBin].getCountLocked(which);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public long getPhoneDataConnectionTime(int dataType,
|
@Override public long getPhoneDataConnectionTime(int dataType,
|
||||||
|
|||||||
Reference in New Issue
Block a user