Loading services/core/java/com/android/server/am/BatteryStatsService.java +7 −9 Original line number Diff line number Diff line Loading @@ -276,7 +276,6 @@ public final class BatteryStatsService extends IBatteryStats.Stub } private void awaitCompletion() { synchronized (mLock) { final CountDownLatch latch = new CountDownLatch(1); mHandler.post(() -> { latch.countDown(); Loading @@ -286,7 +285,6 @@ public final class BatteryStatsService extends IBatteryStats.Stub } catch (InterruptedException e) { } } } /** * At the time when the constructor runs, the power manager has not yet been Loading Loading
services/core/java/com/android/server/am/BatteryStatsService.java +7 −9 Original line number Diff line number Diff line Loading @@ -276,7 +276,6 @@ public final class BatteryStatsService extends IBatteryStats.Stub } private void awaitCompletion() { synchronized (mLock) { final CountDownLatch latch = new CountDownLatch(1); mHandler.post(() -> { latch.countDown(); Loading @@ -286,7 +285,6 @@ public final class BatteryStatsService extends IBatteryStats.Stub } catch (InterruptedException e) { } } } /** * At the time when the constructor runs, the power manager has not yet been Loading