[Settings] Avoid popup activity get bringup from recent history

A popup dialog is designed to sit on top of an single instance activity.
Although activity might #finish(), but will be restarted due to staying
in the recent history.

Remove it from recent history may allow end user not seeing that UI.

Bug: 202033230
Test: local
Change-Id: Id1d52eefb90d011296495f39b1533a1af68435f1
(cherry picked from commit f81eaeb8fa)
This commit is contained in:
Bonian Chen
2022-03-18 16:52:40 +08:00
parent 97a5a69070
commit c79e74dd49

View File

@@ -4294,6 +4294,7 @@
android:name=".sim.ChooseSimActivity"
android:theme="@style/GlifV3Theme.DayNight.NoActionBar"
android:launchMode="singleInstance"
android:excludeFromRecents="true"
android:exported="false"/>
<activity