Rename Bluetooth HID Service
Rename the Bluetooth HID Host and Device Service to make them more
clear. Also change the corresponding name for jni and config values.
Service:
HidService -> HidHostService
HidDevService -> HidDeviceService
JNI:
com_android_bluetooth_hid -> com_android_bluetooth_hid_host
com_android_bluetooth_hidd -> com_android_bluetooth_hid_device
res/values/config.xml:
profile_supported_hid -> profile_supported_hid_host
profile_supported_hidd -> profile_supported_hid_device
Test: with devices using HID Service.
Bug: 68055651
Change-Id: I8b51a923a31fb3baab599537c942d933f859b41f
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a248965..26342c5 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -325,8 +325,8 @@
</service>
<service
android:process="@string/process"
- android:name = ".hid.HidService"
- android:enabled="@bool/profile_supported_hid">
+ android:name = ".hid.HidHostService"
+ android:enabled="@bool/profile_supported_hid_host">
<intent-filter>
<action android:name="android.bluetooth.IBluetoothHidHost" />
</intent-filter>
@@ -387,8 +387,8 @@
android:resource="@xml/authenticator" />
</service>
<service
- android:name = ".hid.HidDevService"
- android:enabled="@bool/profile_supported_hidd">
+ android:name = ".hid.HidDeviceService"
+ android:enabled="@bool/profile_supported_hid_device">
<intent-filter>
<action android:name="android.bluetooth.IBluetoothHidDevice" />
</intent-filter>