summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorSanket Agarwal <sanketa@google.com>2016-03-09 15:29:38 -0800
committerSanket Agarwal <sanketa@google.com>2016-03-14 10:07:10 -0700
commita9ad98ec1222093baecd70b32611c3a74ba7f2d8 (patch)
tree7d1c69746c7e3c925bb1a6ed20cac69c12ae96f2 /AndroidManifest.xml
parentb03b1ce32fe4f39139d9f62b002cf329a0cd72aa (diff)
downloadandroid_packages_apps_Bluetooth-a9ad98ec1222093baecd70b32611c3a74ba7f2d8.tar.gz
android_packages_apps_Bluetooth-a9ad98ec1222093baecd70b32611c3a74ba7f2d8.tar.bz2
android_packages_apps_Bluetooth-a9ad98ec1222093baecd70b32611c3a74ba7f2d8.zip
HFP is exposed via Telecom ConnectionService.
Telecom provides a ConnectionService mechanism where in order to make calls you only need to provide the right phone account (which can be queried using a predefined scheme). This change adds a new middleware called ConnectionService which provides a translation medium from Bluetooth <-> Telecom. Anyone who wishes to use HFP HF role can then simply use TelecomManager (and TelecomManager's InCallService) interfaces. Bug: b/26757899 Change-Id: I66e47b6ff6330cfd9040a4a6cf4edadac28d63de
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 04647a047..409ea3a28 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -334,7 +334,7 @@
<action android:name="android.bluetooth.IBluetoothPan" />
</intent-filter>
</service>
- <service
+ <service
android:process="@string/process"
android:name = ".hfpclient.HeadsetClientService"
android:enabled="@bool/profile_supported_hfpclient">
@@ -342,5 +342,13 @@
<action android:name="android.bluetooth.IBluetoothHeadsetClient" />
</intent-filter>
</service>
+ <service android:name=".hfpclient.connserv.HfpClientConnectionService"
+ android:permission="android.permission.BIND_CONNECTION_SERVICE"
+ android:enabled="@bool/profile_supported_hfpclient">
+ <intent-filter>
+ <!-- Mechanism for Telecom stack to connect -->
+ <action android:name="android.telecom.ConnectionService" />
+ </intent-filter>
+ </service>
</application>
</manifest>