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