summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorPrabir Pradhan <prabirmsp@google.com>2021-01-25 18:25:46 -0800
committerPrabir Pradhan <prabirmsp@google.com>2021-02-18 20:30:06 +0000
commit50b3cc03e62bbac27253920a6203d89dcd714492 (patch)
tree386e9fabca3ec7bb721267bb57d6a748cbe3f0bf /rs/java/android/renderscript/ProgramStore.java
parentc3d7c80f3e5ee62dc768874034b537b7fc5fd981 (diff)
Move launcher activities to the back when back pressed on root task
This change partially reverts the back button behavior change introduced in: I48ec35f841ab3b306fe80845150000c390908f5e Instead of always moving the task to the back when the back button is pressed on the root task, we only do it when the activity that is open is a "launcher activity". These are activities that act as the main entry points into an application, indicated with an intent filter with ACTION_MAIN and CATEGORY_LAUNCHER. Bug: 176235889 Test: atest WmTests Test: atest CtsWindowManagerDeviceTestCases Test: manual: flash crosshatch, press back button on a launcher activity, observe task is moved to back; press back on non-launcher activity, observe task is finished. Change-Id: I1cbf85f1a007aeedcb66b9343d182188bacc78e7
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions