Loading
Fix for out of bounds exception in CachedAppOptimizer
The exception happens when cancelAllCompactions is called since the size changed while iterating in the loop caused by the inner cancelCompactionForProcess function. Changing the iteration to a while loop fixes the issue until consumed fixes the issue. Bug: 242010026 Test: Manual Change-Id: I92049ae3d06e403a37e69ee252ed993c89b6d9a7