From f81eaeb8facf81fd1542cf510915913df254ca01 Mon Sep 17 00:00:00 2001 From: Bonian Chen Date: Fri, 18 Mar 2022 16:52:40 +0800 Subject: [PATCH] [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 --- AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 38760c4cd00..e109b1aa5ee 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -4293,6 +4293,7 @@ android:name=".sim.ChooseSimActivity" android:theme="@style/GlifV3Theme.DayNight.NoActionBar" android:launchMode="singleInstance" + android:excludeFromRecents="true" android:exported="false"/>