AndroidManifest.xml 4.78 KB
Newer Older
1 2 3 4 5 6
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
Wink Saville's avatar
Wink Saville committed
7

8
          http://www.apache.org/licenses/LICENSE-2.0
Wink Saville's avatar
Wink Saville committed
9

10 11 12 13 14 15 16
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

Wink Saville's avatar
Wink Saville committed
17

18
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19
        xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
20 21
        package="com.android.stk"
        android:sharedUserId="android.uid.phone">
22

23 24
    <original-package android:name="com.android.stk" />

25
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
26
    <uses-permission android:name="android.permission.GET_TASKS"/>
27

28 29 30
    <application android:icon="@drawable/ic_launcher_sim_toolkit"
        android:label="@string/app_name"
        android:clearTaskOnLaunch="true"
Wink Saville's avatar
Wink Saville committed
31 32
        android:process="com.android.phone"
        android:taskAffinity="android.task.stk">
33
        <activity android:name="StkLauncherActivity"
Wink Saville's avatar
Wink Saville committed
34 35
            android:theme="@android:style/Theme.NoTitleBar"
            android:label="@string/app_name">
36 37 38 39 40 41 42
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity android:name="StkMenuActivity"
Wink Saville's avatar
Wink Saville committed
43 44 45 46 47
            android:theme="@android:style/Theme.NoTitleBar"
            android:icon="@drawable/ic_launcher_sim_toolkit"
            android:label="@string/app_name"
            android:configChanges="orientation|locale|screenSize|keyboardHidden|mnc|mcc"
            android:taskAffinity="android.task.stk.StkLauncherActivity">
48 49
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
Wink Saville's avatar
Wink Saville committed
50
                <action android:name="android.intent.action.PICK" />
51 52 53
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
54

Wink Saville's avatar
Wink Saville committed
55 56 57 58 59 60 61 62 63 64 65 66
        <activity android:name="StkInputActivity"
            android:label="@string/app_name"
            android:icon="@drawable/ic_launcher_sim_toolkit"
            android:theme="@android:style/Theme.Holo"
            android:configChanges="orientation|locale|screenSize|keyboardHidden"
            android:taskAffinity="android.task.stk.StkLauncherActivity">
                <intent-filter>
                        <action android:name="android.intent.action.VIEW" />
                        <action android:name="android.intent.action.EDIT" />
                        <category android:name="android.intent.category.DEFAULT" />
                </intent-filter>
        </activity>
67
        <activity android:name="StkDialogActivity"
Wink Saville's avatar
Wink Saville committed
68
            android:configChanges="orientation|locale|screenSize|keyboardHidden"
69
            android:theme="@android:style/Theme.Dialog"
Wink Saville's avatar
Wink Saville committed
70
            android:taskAffinity="android.task.stk.StkLauncherActivity">
71 72 73 74 75 76
        </activity>

        <activity android:name="ToneDialog"
            android:theme="@android:style/Theme.Dialog">
        </activity>

77 78 79 80 81 82 83 84 85 86 87 88
        <!-- SIM Toolkit settings activity -->
        <activity android:name="StkSettings"
            android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <action android:name="android.intent.action.MAIN" />
                <category
                    android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
            </intent-filter>
        </activity>

        <receiver android:name="com.android.stk.StkCmdReceiver">
89 90 91
            <intent-filter>
                <action android:name= "android.intent.action.stk.command" />
                <action android:name= "android.intent.action.stk.session_end" />
92
                <action android:name= "android.intent.action.stk.icc_status_change" />
Preeti Ahuja's avatar
Preeti Ahuja committed
93
                <action android:name= "android.intent.action.stk.alpha_notify" />
94
                <action android:name= "android.intent.action.LOCALE_CHANGED" />
95 96 97
            </intent-filter>
        </receiver>

98
        <receiver android:name="com.android.stk.BootCompletedReceiver">
99 100
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
101
                <action android:name="android.intent.action.USER_INITIALIZE" />
102 103 104 105 106
            </intent-filter>
        </receiver>

        <service android:name="StkAppService" />

107
    </application>
108
</manifest>