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

Commit a67fb563 authored by Siddharth Ray's avatar Siddharth Ray
Browse files

addModemTxPowerToHistory() made synchronized

BUG:73818082
Change-Id: Ie0cce10d993a696c5e915e8ef62a66f2cd453197
parent 3fe18d9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11597,7 +11597,7 @@ public class BatteryStatsImpl extends BatteryStats {
     * time at the highest power level.
     * @param activityInfo
     */
    private void addModemTxPowerToHistory(final ModemActivityInfo activityInfo) {
    private synchronized void addModemTxPowerToHistory(final ModemActivityInfo activityInfo) {
        if (activityInfo == null) {
            return;
        }