* commit 'bce413587973eae29a783d7e273dc2f7db06f7c9': Fix wrong count return for getPhoneSignalStrengthCount
This commit is contained in:
committed by
Android Git Automerger
commit
86d09388ee
@@ -2332,8 +2332,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