diff options
| author | 2023-03-30 16:07:15 +0800 | |
|---|---|---|
| committer | 2023-04-07 01:50:39 +0000 | |
| commit | 0342788cf1b316a9dc87d5e0b96dee40ffd5892d (patch) | |
| tree | ccea1798ee9a36ad2f2eb39574e65ae5c7a7ea66 /libs/androidfw/ObbFile.cpp | |
| parent | 36fef761f19c8fc0b967bd2a9d80b44c4c85206e (diff) | |
Do not override finish activity behavior on back event
... if the activity was not started from Launcher.
The launcher activity was started from notification and was not
removed while swiping back. Another activity instance was added
on top of the same task when the app was started from Launcher
because the intent that started the task and the intent that
started from Launcher are different.
Also adding unit test to verify task is moved to back if the root
activity was started from Launcher.
Bug: 272723475
Test: atest ActivityRecordTests
Change-Id: I97ccce3a7491669ab6b649b6e1f053beae3828f0
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions