• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
35    <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"/>
36
37    <application android:icon="@drawable/ic_launcher_sim_toolkit"
38        android:label="@string/app_name"
39        android:clearTaskOnLaunch="true"
40        android:process="com.android.phone"
41        android:taskAffinity="android.task.stk"
42        android:defaultToDeviceProtectedStorage="true"
43        android:enableOnBackInvokedCallback="false"
44        android:directBootAware="true">
45
46        <activity android:name="StkMain"
47            android:theme="@android:style/Theme.NoDisplay"
48            android:label="@string/app_name"
49            android:enabled="false"
50            android:exported="true"
51            android:autoRemoveFromRecents="true"
52            android:taskAffinity="android.task.stk.StkLauncherActivity">
53            <intent-filter>
54                <action android:name="android.intent.action.MAIN" />
55                <category android:name="android.intent.category.LAUNCHER" />
56            </intent-filter>
57        </activity>
58
59        <activity android:name="StkLauncherActivity"
60            android:theme="@android:style/Theme.DeviceDefault.DayNight"
61            android:label="@string/app_name"
62            android:exported="false"
63            android:autoRemoveFromRecents="true"
64            android:taskAffinity="android.task.stk.StkLauncherActivity">
65            <intent-filter>
66                 <action android:name="android.intent.action.VIEW" />
67                 <action android:name="android.intent.action.PICK" />
68                 <category android:name="android.intent.category.DEFAULT" />
69            </intent-filter>
70        </activity>
71
72        <activity android:name="StkMenuActivity"
73            android:theme="@android:style/Theme.DeviceDefault.DayNight"
74            android:icon="@drawable/ic_launcher_sim_toolkit"
75            android:label="@string/app_name"
76            android:configChanges="orientation|locale|screenSize|keyboardHidden|mnc|mcc"
77            android:exported="false"
78            android:autoRemoveFromRecents="true"
79            android:taskAffinity="android.task.stk.StkLauncherActivity">
80            <intent-filter>
81                <action android:name="android.intent.action.VIEW" />
82                <action android:name="android.intent.action.PICK" />
83                <category android:name="android.intent.category.DEFAULT" />
84            </intent-filter>
85        </activity>
86
87        <activity android:name="StkInputActivity"
88            android:label="@string/app_name"
89            android:icon="@drawable/ic_launcher_sim_toolkit"
90            android:theme="@style/Theme.AppCompat.DayNight.NoActionBar"
91            android:configChanges="orientation|locale|screenSize|keyboardHidden"
92            android:exported="false"
93            android:autoRemoveFromRecents="true"
94            android:taskAffinity="android.task.stk.StkLauncherActivity">
95                <intent-filter>
96                        <action android:name="android.intent.action.VIEW" />
97                        <action android:name="android.intent.action.EDIT" />
98                        <category android:name="android.intent.category.DEFAULT" />
99                </intent-filter>
100        </activity>
101        <activity android:name="StkDialogActivity"
102            android:configChanges="orientation|locale|screenSize|keyboardHidden"
103            android:theme="@style/Transparent"
104            android:exported="false"
105            android:autoRemoveFromRecents="true"
106            android:taskAffinity="android.task.stk.StkLauncherActivity">
107        </activity>
108
109        <activity android:name="ToneDialog"
110            android:exported="false"
111            android:theme="@style/Transparent"
112            android:autoRemoveFromRecents="true"
113            android:taskAffinity="android.task.stk.StkLauncherActivity">
114        </activity>
115
116        <receiver android:name="com.android.stk.StkCmdReceiver"
117            android:exported="true">
118            <intent-filter>
119                <action android:name= "com.android.internal.stk.command" />
120                <action android:name= "com.android.internal.stk.session_end" />
121                <action android:name= "com.android.internal.stk.icc_status_change" />
122                <action android:name= "com.android.internal.stk.alpha_notify" />
123            </intent-filter>
124        </receiver>
125
126        <receiver android:name="com.android.stk.BootCompletedReceiver"
127            android:exported="true">
128            <intent-filter>
129                <action android:name="android.intent.action.BOOT_COMPLETED" />
130                <action android:name="android.intent.action.USER_INITIALIZE" />
131            </intent-filter>
132        </receiver>
133
134        <receiver android:name="com.android.stk.UserPresentReceiver"
135            android:exported="true">
136            <intent-filter>
137                <action android:name="android.intent.action.USER_PRESENT" />
138            </intent-filter>
139        </receiver>
140        <service android:name="StkAppService" />
141
142    </application>
143</manifest>
144