summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2018-03-09 11:02:10 -0800
committerBryce Lee <brycelee@google.com>2018-03-13 14:52:35 +0000
commitc940660bd5d9e68069d721d92d8e0534e964d4b3 (patch)
treee6ac7f4f3ae676d0f6cc5660aa9cc65ff9bcba2d /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parenta8cb58721ce820a17e07a439db010a1eeeecba7e (diff)
Ignore activity lifecycle requests without matching client records.
Previously, changes were made to finish destroyed activities. This prevented the code sending lifecycle requests to a non-existent client record. However, there are scenarios where an activity can be destroyed without being finished. Finishing these activities will lead to side effects, such as the activity not being in history and therefore not restored when navigated back to. This changelist unlinks finishing from setting an activity's state to destroyed. For now, we will suppress lifecycle requests client side without matching records. Fixes: 74403650 Fixes: 74409828 Bug: 71506345 Test: enable don't keep activities. navigate back and forth Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testRestoreFromKill Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests#testPausedWhenRecreatedFromInNonFocusedStack Change-Id: I1b76a4758c3be27dc30ecac5ee56949a5b173754
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions