diff options
author | Andrii Kulian <akulian@google.com> | 2019-03-07 22:35:13 +0000 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2019-03-13 22:28:45 +0000 |
commit | f2d598e1684a8b3ed793611f878fafc4f126e1ea (patch) | |
tree | 3de2e0a17662c51b8820cf30572f0925794ad047 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c10482ff3c36ec5902f2b1f4163ca7c89a0fa6c2 (diff) |
Allow transitioning through lifecycle when finished
When finish was requested for an activity, certain
lifecycle transitions were blocked to avoid delivering
invalid callbacks in the past. The checks and early
returns that were left from the old way of resolving
lifecycle cancelled delivering STARTED, RESUMED and
PAUSED state if an activity called finish().
This is no longer required with Lifecycler infrastructure
that takes care of ensuring validity of all transition
sequences.
Bug: 127106719
Bug: 126693030
Test: ActivityLifecycleTests#testFinishInOn*
Change-Id: I5ed006f1846e54589f33da0cab3b6f3bf9ca5a61
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions