diff options
author | Andrii Kulian <akulian@google.com> | 2019-03-04 22:38:03 -0800 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2019-03-05 13:39:16 -0800 |
commit | 76ea768bd3efa8800400769b5e4bef45ef2561ea (patch) | |
tree | 3de2e0a17662c51b8820cf30572f0925794ad047 /tests/Codegen/src/com/android/codegentest/SampleDataClass.java | |
parent | 475f8da097c0589f8bcd148d04c260a5b1030819 (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: Ia9e76dae2f2b5cede046140ef0f196a07accb8c3
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleDataClass.java')
0 files changed, 0 insertions, 0 deletions