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

Skip to content
Commit c8e20e0b authored by Jeff Chang's avatar Jeff Chang
Browse files

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
parent baa2cea8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment