summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorAnubhavGupta <anubhavg@codeaurora.org>2015-02-27 19:08:36 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:25:43 -0600
commit442962cde4c933ba91eeeb422e48d063fa5fa0fb (patch)
treed8d1d124172a0675397899fc42f0daf211f13d0a /AndroidManifest.xml
parentdb525f6a5d47ea8934dd58cffff452da89489f30 (diff)
downloadandroid_packages_apps_Bluetooth-442962cde4c933ba91eeeb422e48d063fa5fa0fb.tar.gz
android_packages_apps_Bluetooth-442962cde4c933ba91eeeb422e48d063fa5fa0fb.tar.bz2
android_packages_apps_Bluetooth-442962cde4c933ba91eeeb422e48d063fa5fa0fb.zip
Bluetooth : Support for AVRCP 1.3 Controller
- Content Provider Implementation for AVRCP MetaData - Handling of AVRCP Commands and Events - Interface for AudioManger to support AbsVol Change-Id: I5e1f768ddfa6c089667874c5151a412ae79052bd Bluetooth: Avrcp Controller 1.3 Support - send GetPlayStatus on state transition from paused/stopped to playing. - indentation correction Change-Id: Ifa259038383e0652ff7dcb345367d8f67c3c80be Bluetooth: AVRCP Controller fixes - Reset metadata if remote does not support a particular Element Attribute - Fetch playerapplicationattributes on track change - Proper update of negative values from remote Usecase: Switch player on TG and check metadata, playerappsetting Failure: Remote device does not call Event_APP_SETTING_CHANGED when we switch between player. If new player does not update metadata, we were showing stale data Solution: Reset metadata if not supported by remote send getplayerapplicatoin on track change Change-Id: Ia7859261336ccdb447d330626b434fefd4abee6f
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--[-rwxr-xr-x]AndroidManifest.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 44613341a..0fa1b7674 100755..100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -11,6 +11,11 @@
android:description="@string/permdesc_bluetoothShareManager"
android:protectionLevel="signature" />
+ <permission android:name="android.permission.ACCESS_BLUETOOTH_AVRCP_CT_DATA"
+ android:label="@string/permlab_bluetoothAvrcpDataManager"
+ android:description="@string/permdesc_bluetoothAvrcpDataManager"
+ android:protectionLevel="signature" />
+
<!-- Allows temporarily whitelisting Bluetooth addresses for sharing -->
<permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE"
android:label="@string/permlab_bluetoothWhitelist"
@@ -20,6 +25,7 @@
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+ <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_AVRCP_CT_DATA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
@@ -83,6 +89,14 @@
android:pathPrefix="/btopp"
android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
</provider>
+ <provider android:name=".avrcp.BluetoothAvrcpDataProvider"
+ android:authorities="com.android.bluetooth.avrcp"
+ android:exported="true"
+ android:process="@string/process">
+ <path-permission
+ android:pathPrefix="/btavrcp_ct"
+ android:permission="android.permission.ACCESS_BLUETOOTH_AVRCP_CT_DATA" />
+ </provider>
<service
android:process="@string/process"
android:name = ".btservice.AdapterService">
@@ -297,6 +311,7 @@
<service
android:process="@string/process"
android:name = ".avrcp.AvrcpControllerService"
+ android:permission="android.permission.ACCESS_BLUETOOTH_AVRCP_CT_DATA"
android:enabled="@bool/profile_supported_avrcp_controller">
<intent-filter>
<action android:name="android.bluetooth.IBluetoothAvrcpController" />