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 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 26 <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" /> 33 <uses-permission android:name="android.permission.READ_CONTACTS" /> 34 <uses-permission android:name="android.permission.READ_CALL_LOG" /> 35 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 36 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 37 <uses-permission android:name="com.android.permission.HANDOVER_STATUS" /> 38 <application 39 android:icon="@drawable/bt_share" 40 android:label="@string/app_name"> 41 <uses-library android:name="javax.obex" /> 42 <provider android:name=".opp.BluetoothOppProvider" 43 android:authorities="com.android.bluetooth.opp" 44 android:process="@string/process"> 45 <path-permission 46 android:path="/btopp" 47 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" /> 48 </provider> 49 <service 50 android:process="@string/process" 51 android:name=".opp.BluetoothOppService" 52 android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" /> 53 <receiver 54 android:process="@string/process" 55 android:name=".opp.BluetoothOppReceiver"> 56 <intent-filter> 57 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" /> 58 <!--action android:name="android.intent.action.BOOT_COMPLETED" /--> 59 <action android:name="android.btopp.intent.action.OPEN_RECEIVED_FILES" /> 60 </intent-filter> 61 </receiver> 62 <receiver 63 android:process="@string/process" 64 android:name=".opp.BluetoothOppHandoverReceiver" 65 android:permission="com.android.permission.WHITELIST_BLUETOOTH_DEVICE"> 66 <intent-filter> 67 <action android:name="android.btopp.intent.action.WHITELIST_DEVICE" /> 68 <action android:name="android.btopp.intent.action.STOP_HANDOVER_TRANSFER" /> 69 </intent-filter> 70 <intent-filter> 71 <action android:name="android.btopp.intent.action.HANDOVER_SEND" /> 72 <category android:name="android.intent.category.DEFAULT" /> 73 <data android:mimeType="*/*" /> 74 </intent-filter> 75 <intent-filter> 76 <action android:name="android.btopp.intent.action.HANDOVER_SEND_MULTIPLE" /> 77 <category android:name="android.intent.category.DEFAULT" /> 78 <data android:mimeType="*/*" /> 79 </intent-filter> 80 </receiver> 81 <activity android:name=".opp.BluetoothOppLauncherActivity" 82 android:process="@string/process" 83 android:theme="@android:style/Theme.Holo.Dialog" android:label="@string/bt_share_picker_label"> 84 <intent-filter> 85 <action android:name="android.intent.action.SEND" /> 86 <category android:name="android.intent.category.DEFAULT" /> 87 <data android:mimeType="image/*" /> 88 <data android:mimeType="video/*" /> 89 <data android:mimeType="audio/*" /> 90 <data android:mimeType="text/x-vcard" /> 91 <data android:mimeType="text/plain" /> 92 <data android:mimeType="text/html" /> 93 <data android:mimeType="application/zip" /> 94 <data android:mimeType="application/vnd.ms-excel" /> 95 <data android:mimeType="application/msword" /> 96 <data android:mimeType="application/vnd.ms-powerpoint" /> 97 <data android:mimeType="application/pdf" /> 98 </intent-filter> 99 <intent-filter> 100 <action android:name="android.intent.action.SEND_MULTIPLE" /> 101 <category android:name="android.intent.category.DEFAULT" /> 102 <data android:mimeType="image/*" /> 103 <data android:mimeType="video/*" /> 104 <data android:mimeType="x-mixmedia/*" /> 105 <data android:mimeType="text/x-vcard" /> 106 </intent-filter> 107 <intent-filter> 108 <action android:name="android.btopp.intent.action.OPEN" /> 109 <category android:name="android.intent.category.DEFAULT" /> 110 <data android:mimeType="vnd.android.cursor.item/vnd.android.btopp" /> 111 </intent-filter> 112 </activity> 113 <activity android:name=".opp.BluetoothOppBtEnableActivity" 114 android:process="@string/process" 115 android:excludeFromRecents="true" 116 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 117 </activity> 118 <activity android:name=".opp.BluetoothOppBtErrorActivity" 119 android:process="@string/process" 120 android:excludeFromRecents="true" 121 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 122 </activity> 123 <activity android:name=".opp.BluetoothOppBtEnablingActivity" 124 android:process="@string/process" 125 android:excludeFromRecents="true" 126 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 127 </activity> 128 <activity android:name=".opp.BluetoothOppIncomingFileConfirmActivity" 129 android:process="@string/process" 130 android:excludeFromRecents="true" 131 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 132 </activity> 133 <activity android:name=".opp.BluetoothOppTransferActivity" 134 android:process="@string/process" 135 android:excludeFromRecents="true" 136 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 137 </activity> 138 <activity android:name=".opp.BluetoothOppLiveFolder" 139 android:process="@string/process" 140 android:icon="@drawable/ic_launcher_folder_bluetooth" 141 android:label="@string/btopp_live_folder"> 142 <intent-filter> 143 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" /> 144 <category android:name="android.intent.category.DEFAULT" /> 145 </intent-filter> 146 </activity> 147 <activity android:name=".opp.BluetoothOppTransferHistory" 148 android:process="@string/process" 149 android:label="" 150 android:excludeFromRecents="true" 151 android:configChanges="orientation|keyboardHidden"> 152 </activity> 153 <activity android:name=".pbap.BluetoothPbapActivity" 154 android:process="@string/process" 155 android:excludeFromRecents="true" 156 android:theme="@*android:style/Theme.Holo.Dialog.Alert"> 157 <intent-filter> 158 <category android:name="android.intent.category.DEFAULT" /> 159 </intent-filter> 160 </activity> 161 <service 162 android:process="@string/process" 163 android:name=".pbap.BluetoothPbapService" > 164 <intent-filter> 165 <action android:name="android.bluetooth.IBluetoothPbap" /> 166 </intent-filter> 167 </service> 168 <receiver 169 android:process="@string/process" 170 android:name=".pbap.BluetoothPbapReceiver"> 171 <intent-filter> 172 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/> 173 <action android:name="android.bluetooth.device.action.CONNECTION_ACCESS_REPLY" /> 174 <category android:name="android.intent.category.DEFAULT" /> 175 </intent-filter> 176 </receiver> 177 </application> 178 </manifest> 179