From 3addaea112e4bc5598321cf748d0ad940c947ef4 Mon Sep 17 00:00:00 2001 From: Anna Suzuki Date: Mon, 8 Apr 2019 10:40:31 +0900 Subject: Remove the task of SIM Toolkit when it becomes no longer needed The problem is that user can re-instantiate the activity which already sent TERMINAL RESPONSE from the card if user find the task of SIM Toolkit on the overview screen and select it. The unnecessary task must be removed from the overview screen and some flags for launching activity should be removed instead. Bug: 130844526 Test: Confirmed that the issue was gone and found no degradation issue. Change-Id: I74b078241b5954f138f509360e6942ca20064d43 --- AndroidManifest.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'AndroidManifest.xml') diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 3ab0e05..15b66d4 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -44,6 +44,7 @@ android:label="@string/app_name" android:enabled="false" android:exported="true" + android:autoRemoveFromRecents="true" android:taskAffinity="android.task.stk.StkLauncherActivity"> @@ -55,6 +56,7 @@ android:theme="@android:style/Theme.Material.Light" android:label="@string/app_name" android:exported="false" + android:autoRemoveFromRecents="true" android:taskAffinity="android.task.stk.StkLauncherActivity"> @@ -69,6 +71,7 @@ android:label="@string/app_name" android:configChanges="orientation|locale|screenSize|keyboardHidden|mnc|mcc" android:exported="false" + android:autoRemoveFromRecents="true" android:taskAffinity="android.task.stk.StkLauncherActivity"> @@ -83,6 +86,7 @@ android:theme="@android:style/Theme.Material.Light" android:configChanges="orientation|locale|screenSize|keyboardHidden" android:exported="false" + android:autoRemoveFromRecents="true" android:taskAffinity="android.task.stk.StkLauncherActivity"> @@ -94,12 +98,14 @@ android:configChanges="orientation|locale|screenSize|keyboardHidden" android:theme="@style/Transparent" android:exported="false" + android:autoRemoveFromRecents="true" android:taskAffinity="android.task.stk.StkLauncherActivity"> -- cgit v1.2.3