blob: 2452b5448cb0b73e0be45cf757274dc41fc466d0 [file] [log] [blame]
Pramod Sivaraman4a8e3852013-05-15 17:25:22 +05301<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
4
5Redistribution and use in source and binary forms, with or without
6modification, are permitted provided that the following conditions are
7met:
8 * Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above
11 copyright notice, this list of conditions and the following
12 disclaimer in the documentation and/or other materials provided
13 with the distribution.
14 * Neither the name of The Linux Foundation nor the names of its
15 contributors may be used to endorse or promote products derived
16 from this software without specific prior written permission.
17
18THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
19WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
20MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
21ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
22BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
25BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
27OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
28IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29*/
30-->
31<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Pramod Sivaraman05b58082013-06-18 18:30:40 +053032 package="org.codeaurora.bluetooth"
Pramod Sivaraman4a8e3852013-05-15 17:25:22 +053033 android:sharedUserId="android.uid.bluetooth">
34
Pramod Sivaraman05b58082013-06-18 18:30:40 +053035 <original-package android:name="org.codeaurora.bluetooth" />
Pramod Sivaraman4a8e3852013-05-15 17:25:22 +053036
37 <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
38 <uses-permission android:name="android.permission.BLUETOOTH" />
39 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
40 <uses-permission android:name="android.permission.WAKE_LOCK" />
41 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
42 <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
Ashwini Munigalae38b5662013-06-12 17:05:14 +053043 <uses-permission android:name="android.permission.READ_SMS"></uses-permission>
44 <uses-permission android:name="android.permission.WRITE_SMS"></uses-permission>
45 <uses-permission android:name="android.permission.BROADCAST_SMS"></uses-permission>
46 <uses-permission android:name="android.permission.RECEIVE_SMS"></uses-permission>
47 <uses-permission android:name="android.permission.SEND_SMS"></uses-permission>
48 <uses-permission android:name="android.permission.MMS_PUSH"></uses-permission>
49 <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/>
50 <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/>
Pramod Sivaraman4a8e3852013-05-15 17:25:22 +053051 <application>
Ashwini Munigalae38b5662013-06-12 17:05:14 +053052 <uses-library android:name="javax.obex" />
Pramod Sivaraman4a8e3852013-05-15 17:25:22 +053053 <service
54 android:name = ".btcservice.BTCService">
55 </service>
56 <receiver
57 android:exported="true"
58 android:name=".btcservice.BTCEventProvider">
59 <intent-filter>
60 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
61 <action android:name="android.bluetooth.adapter.action.DISCOVERY_STARTED" />
62 <action android:name="android.bluetooth.adapter.action.DISCOVERY_FINISHED" />
63 <action android:name="android.bluetooth.device.action.ACL_CONNECTED" />
64 <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
65 <action android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED" />
66 <action android:name="android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED" />
67 <action android:name="android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED" />
68 <action android:name="android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED" />
69 <action android:name="android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED" />
70 </intent-filter>
71 </receiver>
Ashwini Munigalae38b5662013-06-12 17:05:14 +053072 <activity android:name=".map.BluetoothMasActivity"
73 android:process="@string/process"
74 android:excludeFromRecents="true"
75 android:enabled="@bool/profile_supported_map"
76 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
77 <intent-filter>
78 <category android:name="android.intent.category.DEFAULT" />
79 </intent-filter>
80 </activity>
81 <service
82 android:process="@string/process"
83 android:enabled="@bool/profile_supported_map"
84 android:name=".map.BluetoothMasService" >
85 </service>
86 <receiver
87 android:process="@string/process"
88 android:enabled="@bool/profile_supported_map"
89 android:name=".map.BluetoothMasReceiver">
90 <intent-filter>
91 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
92 <action android:name="android.bluetooth.device.action.BOND_STATE_CHANGED"/>
93 <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
94 </intent-filter>
95 </receiver>
Ashwini Munigala3e079442013-06-12 17:30:04 +053096 <activity android:name=".ftp.BluetoothFtpActivity"
97 android:process="@string/process"
98 android:excludeFromRecents="true"
99 android:enabled="@bool/profile_supported_ftp"
100 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
101 <intent-filter>
102 <category android:name="android.intent.category.DEFAULT" />
103 </intent-filter>
104 </activity>
105 <service
106 android:process="@string/process"
107 android:name=".ftp.BluetoothFtpService"
108 android:enabled="@bool/profile_supported_ftp" >
109 </service>
110 <receiver
111 android:process="@string/process"
112 android:enabled="@bool/profile_supported_ftp"
113 android:name=".ftp.BluetoothFtpReceiver">
114 <intent-filter>
115 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
116 <action android:name="android.bluetooth.device.action.BOND_STATE_CHANGED"/>
117 <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
118 </intent-filter>
119 </receiver>
Srinu Jella773e51d2013-07-15 18:50:20 +0530120 <activity android:name=".sap.BluetoothSapPermissionActivity"
121 android:process="@string/process"
122 android:excludeFromRecents="true"
123 android:enabled="@bool/profile_supported_sap"
124 android:theme="@*android:style/Theme.Holo.Dialog.Alert">
125 <intent-filter>
126 <category android:name="android.intent.category.DEFAULT" />
127 </intent-filter>
128 </activity>
129 <service
130 android:process="@string/process"
131 android:name=".sap.BluetoothSapService"
132 android:enabled="@bool/profile_supported_sap" >
133 <intent-filter>
134 <action android:name="android.bluetooth.IBluetoothSap" />
135 </intent-filter>
136 </service>
137 <receiver
138 android:process="@string/process"
139 android:enabled="@bool/profile_supported_sap"
140 android:name=".sap.BluetoothSapReceiver">
141 <intent-filter>
142 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED"/>
143 <action android:name="android.bluetooth.device.action.BOND_STATE_CHANGED"/>
144 <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
145 </intent-filter>
146 </receiver>
Pramod Sivaraman4a8e3852013-05-15 17:25:22 +0530147 </application>
148</manifest>