Simplify the activity lifecycle from START to STOP
When the life cycle of activity stay in START state and plan to STOP state soon. We can jump to the STOP state directly instead of going through the RESUME and PAUSE state. Basically, applications like to do things on RESUME state, we don't need to let application to handle the case because it already plan to STOP. This CL simplify the lifecycle path for the condition and update the related test case. Bug: 143125452 Test: atest TransactionExecutorTests atest ActivityLifecycleTests Change-Id: Id4164eae211587a2dd4e845970ef41cc38ce430d
Loading
Please register or sign in to comment