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

Commit 75a97e48 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fixes a thread safety issue (a time-of-check-time-of-use bug) in...

Merge "Fixes a thread safety issue (a time-of-check-time-of-use bug) in BatteryExternalStatsWorker that causes system_server crashes in VROS device."
parents 752a4725 68a22d8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -399,7 +399,7 @@ class BatteryExternalStatsWorker implements BatteryStatsImpl.ExternalStatsSync {
        }
    }

    public void shutdown() {
    public synchronized void shutdown() {
        mExecutorService.shutdownNow();
    }