AndroidManifest.xml revision ef697b0b9a74e15b5003e134307e72b20b48de12
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3  package="com.android.bluetooth"
4  android:sharedUserId="@string/sharedUserId">
5
6    <original-package android:name="com.android.bluetooth" />
7
8    <!-- Allows access to the Bluetooth Share Manager -->
9    <permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE"
10        android:label="@string/permlab_bluetoothShareManager"
11        android:description="@string/permdesc_bluetoothShareManager"
12        android:protectionLevel="signature" />
13    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
14    <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
15    <uses-permission android:name="android.permission.INTERNET" />
16    <uses-permission android:name="android.permission.BLUETOOTH" />
17    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
18    <uses-permission android:name="android.permission.WAKE_LOCK" />
19    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
20    <uses-permission android:name="android.permission.READ_CONTACTS" />
21    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
22    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
23    <application
24        android:icon="@drawable/bt_share"
25        android:label="@string/app_name">
26        <uses-library android:name="javax.obex" />
27        <provider android:name=".opp.BluetoothOppProvider"
28            android:authorities="com.android.bluetooth.opp"
29            android:process="@string/process">
30            <path-permission
31                    android:path="/btopp"
32                    android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
33        </provider>
34        <service
35            android:process="@string/process"
36            android:name=".opp.BluetoothOppService"
37            android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
38        <receiver
39            android:process="@string/process"
40            android:name=".opp.BluetoothOppReceiver">
41            <intent-filter>
42                <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
43                <!--action android:name="android.intent.action.BOOT_COMPLETED" /-->
44                <action android:name="android.btopp.intent.action.OPEN_RECEIVED_FILES" />
45            </intent-filter>
46        </receiver>
47        <activity android:name=".opp.BluetoothOppLauncherActivity"
48            android:process="@string/process"
49            android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/bt_share_picker_label">
50            <intent-filter>
51                <action android:name="android.intent.action.SEND" />
52                <category android:name="android.intent.category.DEFAULT" />
53                <data android:mimeType="image/*" />
54                <data android:mimeType="video/*" />
55                <data android:mimeType="audio/*" />
56                <data android:mimeType="text/x-vcard" />
57                <data android:mimeType="text/plain" />
58                <data android:mimeType="text/html" />
59                <data android:mimeType="application/zip" />
60                <data android:mimeType="application/vnd.ms-excel" />
61                <data android:mimeType="application/msword" />
62                <data android:mimeType="application/vnd.ms-powerpoint" />
63                <data android:mimeType="application/pdf" />
64            </intent-filter>
65            <intent-filter>
66                <action android:name="android.intent.action.SEND_MULTIPLE" />
67                <category android:name="android.intent.category.DEFAULT" />
68                <data android:mimeType="image/*" />
69                <data android:mimeType="video/*" />
70                <data android:mimeType="x-mixmedia/*" />
71                <data android:mimeType="text/x-vcard" />
72            </intent-filter>
73            <intent-filter>
74                <action android:name="android.btopp.intent.action.OPEN" />
75                <category android:name="android.intent.category.DEFAULT" />
76                <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" />
77            </intent-filter>
78        </activity>
79        <activity android:name=".opp.BluetoothOppBtEnableActivity"
80                  android:process="@string/process"
81                  android:excludeFromRecents="true"
82                  android:theme="@*android:style/Theme.Holo.Dialog.Alert">
83        </activity>
84        <activity android:name=".opp.BluetoothOppBtErrorActivity"
85                  android:process="@string/process"
86                  android:excludeFromRecents="true"
87                  android:theme="@*android:style/Theme.Holo.Dialog.Alert">
88        </activity>
89        <activity android:name=".opp.BluetoothOppBtEnablingActivity"
90                  android:process="@string/process"
91                  android:excludeFromRecents="true"
92                  android:theme="@*android:style/Theme.Holo.Dialog.Alert">
93        </activity>
94        <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity"
95                  android:process="@string/process"
96                  android:excludeFromRecents="true"
97                  android:theme="@*android:style/Theme.Holo.Dialog.Alert">
98        </activity>
99        <activity android:name=".opp.BluetoothOppTransferActivity"
100                  android:process="@string/process"
101                  android:excludeFromRecents="true"
102                  android:theme="@*android:style/Theme.Holo.Dialog.Alert">
103        </activity>
104        <activity android:name=".opp.BluetoothOppLiveFolder"
105            android:process="@string/process"
106            android:icon="@drawable/ic_launcher_folder_bluetooth"
107            android:label="@string/btopp_live_folder">
108            <intent-filter>
109                <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
110                <category android:name="android.intent.category.DEFAULT" />
111            </intent-filter>
112        </activity>
113        <activity android:name=".opp.BluetoothOppTransferHistory"
114                  android:process="@string/process"
115                  android:label=""
116                  android:excludeFromRecents="true"
117                  android:configChanges="orientation|keyboardHidden">
118        </activity>
119        <activity android:name=".pbap.BluetoothPbapActivity"
120            android:process="@string/process"
121            android:excludeFromRecents="true"
122            android:theme="@*android:style/Theme.Holo.Dialog.Alert">
123            <intent-filter>
124                <category android:name="android.intent.category.DEFAULT" />
125            </intent-filter>
126        </activity>
127        <service
128            android:process="@string/process"
129            android:name=".pbap.BluetoothPbapService" >
130            <intent-filter>
131                <action android:name="android.bluetooth.IBluetoothPbap" />
132            </intent-filter>
133        </service>
134        <receiver
135            android:process="@string/process"
136            android:name=".pbap.BluetoothPbapReceiver">
137            <intent-filter>
138                <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
139                <action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
140                <category android:name="android.intent.category.DEFAULT" />
141            </intent-filter>
142        </receiver>
143    </application>
144</manifest>
145