diff options
author | Anna Suzuki <anna.x.suzuki@sony.com> | 2019-04-08 10:40:31 +0900 |
---|---|---|
committer | Yoshiaki Naka <yoshiaki.naka@sony.com> | 2019-10-09 06:44:32 +0000 |
commit | 3addaea112e4bc5598321cf748d0ad940c947ef4 (patch) | |
tree | 5da999c6209ab310e649bacce0a8f4787025dbfd /AndroidManifest.xml | |
parent | 892dd86477f88eee6fb31d349d5b21348508b03a (diff) | |
download | Stk-3addaea112e4bc5598321cf748d0ad940c947ef4.tar.gz |
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
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 6 |
1 files changed, 6 insertions, 0 deletions
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"> <intent-filter> <action android:name="android.intent.action.MAIN" /> @@ -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"> <intent-filter> <action android:name="android.intent.action.VIEW" /> @@ -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"> <intent-filter> <action android:name="android.intent.action.VIEW" /> @@ -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"> <intent-filter> <action android:name="android.intent.action.VIEW" /> @@ -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"> </activity> <activity android:name="ToneDialog" android:exported="false" android:theme="@style/Transparent" + android:autoRemoveFromRecents="true" android:taskAffinity="android.task.stk.StkLauncherActivity"> </activity> |