AndroidManifest.xml revision 0bd5f7b5c36a60687ffe895368fd8df6df38acab
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            </intent-filter>
45        </receiver>
46        <activity android:name=".opp.BluetoothOppLauncherActivity"
47            android:theme="@android:style/Theme.Dialog" android:label="@string/bt_share_picker_label">
48            <intent-filter>
49                <action android:name="android.intent.action.SEND" />
50                <category android:name="android.intent.category.DEFAULT" />
51                <data android:mimeType="image/*" />
52                <data android:mimeType="video/*" />
53                <data android:mimeType="audio/*" />
54                <data android:mimeType="text/x-vcard" />
55                <data android:mimeType="text/plain" />
56                <data android:mimeType="text/html" />
57                <data android:mimeType="application/zip" />
58                <data android:mimeType="application/vnd.ms-excel" />
59                <data android:mimeType="application/msword" />
60                <data android:mimeType="application/vnd.ms-powerpoint" />
61                <data android:mimeType="application/pdf" />
62            </intent-filter>
63            <intent-filter>
64                <action android:name="android.intent.action.SEND_MULTIPLE" />
65                <category android:name="android.intent.category.DEFAULT" />
66                <data android:mimeType="image/*" />
67                <data android:mimeType="video/*" />
68                <data android:mimeType="x-mixmedia/*" />
69                <data android:mimeType="text/x-vcard" />
70            </intent-filter>
71            <intent-filter>
72                <action android:name="android.btopp.intent.action.OPEN" />
73                <category android:name="android.intent.category.DEFAULT" />
74                <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" />
75            </intent-filter>
76        </activity>
77        <activity android:name=".opp.BluetoothOppBtEnableActivity"
78                  android:excludeFromRecents="true"
79                  android:theme="@*android:style/Theme.Dialog.Alert">
80        </activity>
81        <activity android:name=".opp.BluetoothOppBtErrorActivity"
82                  android:excludeFromRecents="true"
83                  android:theme="@*android:style/Theme.Dialog.Alert">
84        </activity>
85        <activity android:name=".opp.BluetoothOppBtEnablingActivity"
86                  android:excludeFromRecents="true"
87                  android:theme="@*android:style/Theme.Dialog.Alert">
88        </activity>
89        <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity"
90                  android:excludeFromRecents="true"
91                  android:theme="@*android:style/Theme.Dialog.Alert">
92        </activity>
93        <activity android:name=".opp.BluetoothOppTransferActivity"
94                  android:excludeFromRecents="true"
95                  android:theme="@*android:style/Theme.Dialog.Alert">
96        </activity>
97        <activity android:name=".opp.BluetoothOppLiveFolder"
98            android:icon="@drawable/ic_launcher_folder_bluetooth"
99            android:label="@string/btopp_live_folder">
100            <intent-filter>
101                <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
102                <category android:name="android.intent.category.DEFAULT" />
103            </intent-filter>
104        </activity>
105        <activity android:name=".opp.BluetoothOppTransferHistory"
106                  android:label=""
107                  android:excludeFromRecents="true"
108                  android:configChanges="orientation|keyboardHidden">
109        </activity>
110        <activity android:name=".pbap.BluetoothPbapActivity"
111            android:process="@string/process"
112            android:excludeFromRecents="true"
113            android:theme="@*android:style/Theme.Dialog.Alert">
114            <intent-filter>
115                <category android:name="android.intent.category.DEFAULT" />
116            </intent-filter>
117        </activity>
118        <service
119            android:process="@string/process"
120            android:name=".pbap.BluetoothPbapService" >
121        </service>
122        <receiver
123            android:process="@string/process"
124            android:name=".pbap.BluetoothPbapReceiver">
125            <intent-filter>
126                <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
127            </intent-filter>
128        </receiver>
129    </application>
130</manifest>
131