summaryrefslogtreecommitdiff
path: root/config
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 /config
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 'config')
-rw-r--r--config/preloaded-classes3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/preloaded-classes b/config/preloaded-classes
index 0c440e810ea8..c6ec37690d88 100644
--- a/config/preloaded-classes
+++ b/config/preloaded-classes
@@ -400,6 +400,9 @@ android.app.INotificationManager
android.app.IProcessObserver$Stub$Proxy
android.app.IProcessObserver$Stub
android.app.IProcessObserver
+android.app.IRequestFinishCallback$Stub$Proxy
+android.app.IRequestFinishCallback$Stub
+android.app.IRequestFinishCallback
android.app.ISearchManager$Stub$Proxy
android.app.ISearchManager$Stub
android.app.ISearchManager