blob: 4b7d2c1ec0f8aed1cdda605acb0912d833a5f789 [file] [log] [blame]
Nick Pelly09e9cba2009-07-10 18:45:13 -07001<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -08003 package="com.android.bluetooth"
Jaikumar Ganeshff4f17b2011-12-19 15:54:50 -08004 android:sharedUserId="android.uid.bluetooth">
Jeff Hamilton5127e8e2010-02-11 16:25:47 -06005
6 <original-package android:name="com.android.bluetooth" />
7
Nick Pelly09e9cba2009-07-10 18:45:13 -07008 <!-- 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" />
Martijn Coenen8099f5e2012-04-06 13:47:52 -070013
14 <!-- Allows temporarily whitelisting Bluetooth addresses for sharing -->
15 <permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE"
16 android:label="@string/permlab_bluetoothWhitelist"
17 android:description="@string/permdesc_bluetoothWhitelist"
18 android:protectionLevel="signature" />
19
20 <!-- Allows receiving handover status broadcasts from Bluetooth -->,
21 <permission android:name="com.android.permission.HANDOVER_STATUS"
22 android:label="@string/permlab_handoverStatus"
23 android:description="@string/permdesc_handoverStatus"
24 android:protectionLevel="signature" />
25
Nick Pelly09e9cba2009-07-10 18:45:13 -070026 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
27 <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
28 <uses-permission android:name="android.permission.INTERNET" />
29 <uses-permission android:name="android.permission.BLUETOOTH" />
30 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
31 <uses-permission android:name="android.permission.WAKE_LOCK" />
32 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Jackson Fan2c282d52009-07-19 12:25:14 +080033 <uses-permission android:name="android.permission.READ_CONTACTS" />
Daniel Lehmann4425b782012-03-09 20:43:54 -080034 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Jackson Fan2c282d52009-07-19 12:25:14 +080035 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
36 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Martijn Coenen8099f5e2012-04-06 13:47:52 -070037 <uses-permission android:name="com.android.permission.HANDOVER_STATUS" />
Matthew Xie6c91bc02012-02-16 18:47:53 -080038 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Jaikumar Ganesha11b96d2012-02-27 10:30:33 -080039 <uses-permission android:name="android.permission.NET_ADMIN" />
Matthew Xie6c91bc02012-02-16 18:47:53 -080040 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
41 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080042 <application
Jaikumar Ganeshff4f17b2011-12-19 15:54:50 -080043 android:name=".btservice.AdapterService"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080044 android:icon="@drawable/bt_share"
Jaikumar Ganeshff4f17b2011-12-19 15:54:50 -080045 android:persistent="true"
Nick Pelly09e9cba2009-07-10 18:45:13 -070046 android:label="@string/app_name">
47 <uses-library android:name="javax.obex" />
Tao Liejun6769b592009-07-14 15:55:04 -070048 <provider android:name=".opp.BluetoothOppProvider"
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080049 android:authorities="com.android.bluetooth.opp"
50 android:process="@string/process">
Tao Liejun1ac55072009-08-07 15:01:24 +080051 <path-permission
52 android:path="/btopp"
53 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
54 </provider>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080055 <service
56 android:process="@string/process"
57 android:name=".opp.BluetoothOppService"
Nick Pelly09e9cba2009-07-10 18:45:13 -070058 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -080059 <receiver
60 android:process="@string/process"
61 android:name=".opp.BluetoothOppReceiver">
Nick Pelly09e9cba2009-07-10 18:45:13 -070062 <intent-filter>
Nick Pellybd540682009-09-11 11:46:59 -070063 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
jhtop.kimef697b02011-08-02 10:59:35 +090064 <!--action android:name="android.intent.action.BOOT_COMPLETED" /-->
Jake Hamby1ed96d52011-01-25 19:46:26 -080065 <action android:name="android.btopp.intent.action.OPEN_RECEIVED_FILES" />
Martijn Coenen8099f5e2012-04-06 13:47:52 -070066 </intent-filter>
67 </receiver>
68 <receiver
69 android:process="@string/process"
70 android:name=".opp.BluetoothOppHandoverReceiver"
71 android:permission="com.android.permission.WHITELIST_BLUETOOTH_DEVICE">
72 <intent-filter>
73 <action android:name="android.btopp.intent.action.WHITELIST_DEVICE" />
Martijn Coenen584dfb22012-05-16 13:58:02 -070074 <action android:name="android.btopp.intent.action.STOP_HANDOVER_TRANSFER" />
Nick Pelly09e9cba2009-07-10 18:45:13 -070075 </intent-filter>
Martijn Coenen03f25a22012-05-18 13:43:30 -070076 <intent-filter>
77 <action android:name="android.btopp.intent.action.HANDOVER_SEND" />
78 <category android:name="android.intent.category.DEFAULT" />
79 <data android:mimeType="*/*" />
80 </intent-filter>
81 <intent-filter>
82 <action android:name="android.btopp.intent.action.HANDOVER_SEND_MULTIPLE" />
83 <category android:name="android.intent.category.DEFAULT" />
84 <data android:mimeType="*/*" />
85 </intent-filter>
Nick Pelly09e9cba2009-07-10 18:45:13 -070086 </receiver>
Tao Liejun6769b592009-07-14 15:55:04 -070087 <activity android:name=".opp.BluetoothOppLauncherActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -070088 android:process="@string/process"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -080089 android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/bt_share_picker_label">
Nick Pelly09e9cba2009-07-10 18:45:13 -070090 <intent-filter>
91 <action android:name="android.intent.action.SEND" />
92 <category android:name="android.intent.category.DEFAULT" />
93 <data android:mimeType="image/*" />
94 <data android:mimeType="video/*" />
Jackson Fan239bc522009-07-27 15:58:22 +080095 <data android:mimeType="audio/*" />
Lixin Yue6ef730f2009-12-17 16:31:22 +080096 <data android:mimeType="text/x-vcard" />
Tao Liejunfb8562d2009-11-18 11:02:59 -060097 <data android:mimeType="text/plain" />
98 <data android:mimeType="text/html" />
99 <data android:mimeType="application/zip" />
100 <data android:mimeType="application/vnd.ms-excel" />
101 <data android:mimeType="application/msword" />
102 <data android:mimeType="application/vnd.ms-powerpoint" />
103 <data android:mimeType="application/pdf" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700104 </intent-filter>
105 <intent-filter>
Tao Liejun1ac55072009-08-07 15:01:24 +0800106 <action android:name="android.intent.action.SEND_MULTIPLE" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700107 <category android:name="android.intent.category.DEFAULT" />
108 <data android:mimeType="image/*" />
109 <data android:mimeType="video/*" />
110 <data android:mimeType="x-mixmedia/*" />
Lixin Yue6ef730f2009-12-17 16:31:22 +0800111 <data android:mimeType="text/x-vcard" />
Nick Pelly09e9cba2009-07-10 18:45:13 -0700112 </intent-filter>
113 <intent-filter>
114 <action android:name="android.btopp.intent.action.OPEN" />
115 <category android:name="android.intent.category.DEFAULT" />
116 <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" />
117 </intent-filter>
118 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800119 <activity android:name=".opp.BluetoothOppBtEnableActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700120 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800121 android:excludeFromRecents="true"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -0800122 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700123 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800124 <activity android:name=".opp.BluetoothOppBtErrorActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700125 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800126 android:excludeFromRecents="true"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -0800127 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700128 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800129 <activity android:name=".opp.BluetoothOppBtEnablingActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700130 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800131 android:excludeFromRecents="true"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -0800132 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800133 </activity>
Jaikumar Ganesh53647ab2009-09-11 16:20:52 -0700134 <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700135 android:process="@string/process"
Jaikumar Ganesh53647ab2009-09-11 16:20:52 -0700136 android:excludeFromRecents="true"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -0800137 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700138 </activity>
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800139 <activity android:name=".opp.BluetoothOppTransferActivity"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700140 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800141 android:excludeFromRecents="true"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -0800142 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
Nick Pelly09e9cba2009-07-10 18:45:13 -0700143 </activity>
Tao Liejun6769b592009-07-14 15:55:04 -0700144 <activity android:name=".opp.BluetoothOppLiveFolder"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700145 android:process="@string/process"
Mike Cleronae70ee22009-09-29 13:03:26 -0700146 android:icon="@drawable/ic_launcher_folder_bluetooth"
Nick Pelly09e9cba2009-07-10 18:45:13 -0700147 android:label="@string/btopp_live_folder">
148 <intent-filter>
149 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
150 <category android:name="android.intent.category.DEFAULT" />
151 </intent-filter>
152 </activity>
Lixin Yue5cc61792010-02-26 17:35:23 +0800153 <activity android:name=".opp.BluetoothOppTransferHistory"
Jaikumar Ganesh6a148f12010-05-14 15:00:28 -0700154 android:process="@string/process"
Lixin Yue5cc61792010-02-26 17:35:23 +0800155 android:label=""
156 android:excludeFromRecents="true"
157 android:configChanges="orientation|keyboardHidden">
158 </activity>
Jackson Fan2c282d52009-07-19 12:25:14 +0800159 <activity android:name=".pbap.BluetoothPbapActivity"
Jaikumar Ganesh0bd5f7b2010-03-24 10:36:06 -0700160 android:process="@string/process"
Lixin Yuedc3bacd2009-09-21 20:36:16 +0800161 android:excludeFromRecents="true"
Jaikumar Ganeshb27df662011-01-10 15:21:53 -0800162 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
Jackson Fan2c282d52009-07-19 12:25:14 +0800163 <intent-filter>
Lixin Yued8961622009-07-28 10:45:23 +0800164 <category android:name="android.intent.category.DEFAULT" />
Jackson Fan2c282d52009-07-19 12:25:14 +0800165 </intent-filter>
166 </activity>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -0800167 <service
168 android:process="@string/process"
169 android:name=".pbap.BluetoothPbapService" >
Jaikumar Ganeshb8c66032010-10-07 00:39:15 +0200170 <intent-filter>
171 <action android:name="android.bluetooth.IBluetoothPbap" />
172 </intent-filter>
Jackson Fan2c282d52009-07-19 12:25:14 +0800173 </service>
Jaikumar Ganesh20b763a2010-03-11 13:06:54 -0800174 <receiver
175 android:process="@string/process"
176 android:name=".pbap.BluetoothPbapReceiver">
Jackson Fan2c282d52009-07-19 12:25:14 +0800177 <intent-filter>
Nick Pellybd540682009-09-11 11:46:59 -0700178 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
Matthew Xie7eab97d2011-06-28 13:53:56 -0700179 <action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" />
180 <category android:name="android.intent.category.DEFAULT" />
Jackson Fan2c282d52009-07-19 12:25:14 +0800181 </intent-filter>
182 </receiver>
Matthew Xie6c91bc02012-02-16 18:47:53 -0800183 <service
184 android:process="@string/process"
185 android:name = ".hfp.HeadsetService">
186 <intent-filter>
187 <action android:name="android.bluetooth.IBluetoothHeadset" />
188 </intent-filter>
189 </service>
190 <service
191 android:process="@string/process"
192 android:name = ".a2dp.A2dpService">
193 <intent-filter>
194 <action android:name="android.bluetooth.IBluetoothA2dp" />
195 </intent-filter>
196 </service>
Nick Pelly09e9cba2009-07-10 18:45:13 -0700197 </application>
198</manifest>