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