BatteryStatsService: Fix wrong arguments passed to noteBluetoothScanStoppedFromSourceLocked.
Arguments in the wrong order were passed to noteBluetoothScanStoppedFromSourceLocked in noteBleScanStopped, which may cause time errors in BatteryStats. Bug: N/A Test: N/A Change-Id: Ic022abb88f7482be509fb675ac1517334989bc10 Signed-off-by: Shumao Hou <shumao1129@gmail.com>
This commit is contained in:
@@ -1978,7 +1978,7 @@ public final class BatteryStatsService extends IBatteryStats.Stub
|
||||
mHandler.post(() -> {
|
||||
synchronized (mStats) {
|
||||
mStats.noteBluetoothScanStoppedFromSourceLocked(localWs, isUnoptimized,
|
||||
uptime, elapsedRealtime);
|
||||
elapsedRealtime, uptime);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user