1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19        xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
20        package="com.android.stk"
21        android:sharedUserId="android.uid.phone">
22
23    <original-package android:name="com.android.stk" />
24
25    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
26    <uses-permission android:name="android.permission.REAL_GET_TASKS"/>
27    <uses-permission android:name="android.permission.RECEIVE_STK_COMMANDS" />
28    <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" />
29    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
30    <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
31    <uses-permission android:name="android.permission.USER_ACTIVITY" />
32    <uses-permission android:name="android.permission.VIBRATE" />
33    <uses-permission android:name="android.permission.WAKE_LOCK" />
34
35    <application android:icon="@drawable/ic_launcher_sim_toolkit"
36        android:label="@string/app_name"
37        android:clearTaskOnLaunch="true"
38        android:process="com.android.phone"
39        android:taskAffinity="android.task.stk"
40        android:defaultToDeviceProtectedStorage="true"
41        android:directBootAware="true">
42
43        <activity android:name="StkMain"
44            android:theme="@android:style/Theme.NoDisplay"
45            android:label="@string/app_name"
46            android:enabled="false"
47            android:exported="true"
48            android:autoRemoveFromRecents="true"
49            android:taskAffinity="android.task.stk.StkLauncherActivity">
50            <intent-filter>
51                <action android:name="android.intent.action.MAIN" />
52                <category android:name="android.intent.category.LAUNCHER" />
53            </intent-filter>
54        </activity>
55
56        <activity android:name="StkLauncherActivity"
57            android:theme="@android:style/Theme.DeviceDefault.DayNight"
58            android:label="@string/app_name"
59            android:exported="false"
60            android:autoRemoveFromRecents="true"
61            android:taskAffinity="android.task.stk.StkLauncherActivity">
62            <intent-filter>
63                 <action android:name="android.intent.action.VIEW" />
64                 <action android:name="android.intent.action.PICK" />
65                 <category android:name="android.intent.category.DEFAULT" />
66            </intent-filter>
67        </activity>
68
69        <activity android:name="StkMenuActivity"
70            android:theme="@android:style/Theme.DeviceDefault.DayNight"
71            android:icon="@drawable/ic_launcher_sim_toolkit"
72            android:label="@string/app_name"
73            android:configChanges="orientation|locale|screenSize|keyboardHidden|mnc|mcc"
74            android:exported="false"
75            android:autoRemoveFromRecents="true"
76            android:taskAffinity="android.task.stk.StkLauncherActivity">
77            <intent-filter>
78                <action android:name="android.intent.action.VIEW" />
79                <action android:name="android.intent.action.PICK" />
80                <category android:name="android.intent.category.DEFAULT" />
81            </intent-filter>
82        </activity>
83
84        <activity android:name="StkInputActivity"
85            android:label="@string/app_name"
86            android:icon="@drawable/ic_launcher_sim_toolkit"
87            android:theme="@style/Theme.AppCompat.DayNight.NoActionBar"
88            android:configChanges="orientation|locale|screenSize|keyboardHidden"
89            android:exported="false"
90            android:autoRemoveFromRecents="true"
91            android:taskAffinity="android.task.stk.StkLauncherActivity">
92                <intent-filter>
93                        <action android:name="android.intent.action.VIEW" />
94                        <action android:name="android.intent.action.EDIT" />
95                        <category android:name="android.intent.category.DEFAULT" />
96                </intent-filter>
97        </activity>
98        <activity android:name="StkDialogActivity"
99            android:configChanges="orientation|locale|screenSize|keyboardHidden"
100            android:theme="@style/Transparent"
101            android:exported="false"
102            android:autoRemoveFromRecents="true"
103            android:taskAffinity="android.task.stk.StkLauncherActivity">
104        </activity>
105
106        <activity android:name="ToneDialog"
107            android:exported="false"
108            android:theme="@style/Transparent"
109            android:autoRemoveFromRecents="true"
110            android:taskAffinity="android.task.stk.StkLauncherActivity">
111        </activity>
112
113        <receiver android:name="com.android.stk.StkCmdReceiver"
114            android:exported="true">
115            <intent-filter>
116                <action android:name= "com.android.internal.stk.command" />
117                <action android:name= "com.android.internal.stk.session_end" />
118                <action android:name= "com.android.internal.stk.icc_status_change" />
119                <action android:name= "com.android.internal.stk.alpha_notify" />
120            </intent-filter>
121        </receiver>
122
123        <receiver android:name="com.android.stk.BootCompletedReceiver"
124            android:exported="true">
125            <intent-filter>
126                <action android:name="android.intent.action.BOOT_COMPLETED" />
127                <action android:name="android.intent.action.USER_INITIALIZE" />
128            </intent-filter>
129        </receiver>
130
131        <service android:name="StkAppService" />
132
133    </application>
134</manifest>
135