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