diff options
author | Issei Suzuki <issei@google.com> | 2019-12-19 12:42:13 +0100 |
---|---|---|
committer | Issei Suzuki <issei@google.com> | 2020-01-06 14:43:45 +0100 |
commit | d0c14f3a89f065ebe09a4d8643edd64718d2c66b (patch) | |
tree | 057a4b587dadeeb01f183de5c53d11c73bc18611 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 7a21c31315f1cbd931e830b8b8d5a674f73f7e99 (diff) |
Hold off on destroying an activity until the resumed one is visible.
After ag/9754495, the visibility related flags in ActivityRecord are
already updated before the code reaches to completeFinishing(), so
we use activity status instead.
With this change, an activity in PAUSED state won't be destroyed
immediately but is put into the stopping list even if the next
top activity is already visible.
Bug: 145186882
Bug: 80414790
Test: atest ActivityLifeCycleTests ActivityLifecycleTopResumedStateTests
Change-Id: I61a9aa382d39797e835a1a5f64d64765372bf3bf
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions