summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChilun <chilunhuang@google.com>2021-05-12 18:23:24 +0800
committerChilun <chilunhuang@google.com>2021-05-19 16:20:46 +0800
commitb7cd0183db0c297f0a724a12a53df3ae8bb9ef30 (patch)
tree01e1c89600e59b928e181c5b719835bb9e2a4eff /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0a35d1d6b4e486c39f51c0ade132a48fecd210c7 (diff)
Clear preferred top focusable root task
When the last activity in the task is finishing and there is no next activity can be resumed. We will use pre-recorded task which is no longer visible to resume activity. This will not only fail to resume activity, but also miss the chance to resume home. We should not ask an invisible task to resume activity, so this CL is to clear mPreferredTopFocusableRootTask when we can't find a next focusable task. Bug: 183373468 Test: Finish SUW and use back key to finish AllSetActivity Test: atest ActivityRecordTests TaskTest RootTaskTests Test: atest DisplayContentTests#testNotResumeHomeRootTaskOnRemovingDisplay Change-Id: I38b69b9dd25ac1fbf88042fb943f1200c3e33474
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions