Loading services/core/java/com/android/server/am/CachedAppOptimizer.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -1056,7 +1056,9 @@ public final class CachedAppOptimizer { if(wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE) { if(wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE) { // Remove any pending compaction we may have scheduled to happen while screen was off // Remove any pending compaction we may have scheduled to happen while screen was off Slog.e(TAG_AM, "Cancel pending or running compactions as system is awake"); Slog.e(TAG_AM, "Cancel pending or running compactions as system is awake"); synchronized(mProcLock) { mPendingCompactionProcesses.clear(); mPendingCompactionProcesses.clear(); } cancelCompaction(); cancelCompaction(); } } } } Loading Loading
services/core/java/com/android/server/am/CachedAppOptimizer.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -1056,7 +1056,9 @@ public final class CachedAppOptimizer { if(wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE) { if(wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE) { // Remove any pending compaction we may have scheduled to happen while screen was off // Remove any pending compaction we may have scheduled to happen while screen was off Slog.e(TAG_AM, "Cancel pending or running compactions as system is awake"); Slog.e(TAG_AM, "Cancel pending or running compactions as system is awake"); synchronized(mProcLock) { mPendingCompactionProcesses.clear(); mPendingCompactionProcesses.clear(); } cancelCompaction(); cancelCompaction(); } } } } Loading