summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-03-15 14:26:29 -0700
committerchaviw <chaviw@google.com>2018-03-16 16:53:03 -0700
commit82a0ba843ba2b775a762de4aefb852140f07c3e4 (patch)
treea46199b6a8e00e69193d4214c4c393967877e8f2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent0d562bf89288fc9a4d0341ee3e48721811c01f09 (diff)
Clear all options from Task when any ActivityRecord consumes the options.
Multiple ActivityRecords can get the same options if they are in some state of being launched. If the Task starts and already has ActivityRecords in the Task, they will also get the new options. It's pretty difficult to prevent that since they are being moved to the front, even though another activity will launch on top. Instead, just clear all ActivityRecord's options in the same Task so only one is ever consumed. Fixes: 74611027 Test: Launch activity then background. Open second activity from notification. When pressing back, window animation should start. Test: Launch activity, press home, launch same activity. Starting animation occurs on the second launch. Test: testsApplyOptionsLocked Change-Id: I72119772851102cbb71d59527c5f0256b575752b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions