summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Chang <chengjeff@google.com>2020-11-12 14:35:47 +0800
committerJeff Chang <chengjeff@google.com>2020-11-25 10:49:45 +0800
commit59c156cffb589805f9b63ac3f0e70866a59b1f57 (patch)
treebbf15d27ffcb78d07984c93dae13c4d9f7e2463c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0feb7574c2d5bad19bed49c28917f6f011e89578 (diff)
Avoid creating new instance on top when started for result
A new activity instance was created when the task top activity with launch mode singleTop started itself via startActivityForResult. Update the rule for checking if the activity being launched is the same as the one currently at the top. Send the cancel result back if startActivityForResult on the case. Moreover, remove the Single-task condition because it is not working here. Bug: 122967919 Test: atest IntentTests Change-Id: I4c59e8050cb6ddb7430d8141d8454699dc14d2a0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions