From 5abdd4f352248b32fc42a4e24ef7d0869eb70168 Mon Sep 17 00:00:00 2001 From: Sal Savage Date: Mon, 25 Apr 2022 16:43:16 -0700 Subject: [PATCH] sm7325-common: Set default the Bluetooth class of device The class of device is a string with a list of uint8t values: 90,2,12 The meaning is as follows: {Service Field, Major class, Minor class} Service Field: 0x5A -> 90 Bit 17: Networking Bit 19: Capturing Bit 20: Object Transfer Bit 22: Telephony MAJOR_CLASS: 0x02 -> 2 (Phone) MINOR_CLASS: 0x0C -> 12 (Smart Phone) Bug: 217452259 Test: make -j; -- check that bluetooth.device.class_of_device is correct Change-Id: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1 --- vendor.prop | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor.prop b/vendor.prop index 92ae20b..7d4d348 100644 --- a/vendor.prop +++ b/vendor.prop @@ -116,6 +116,7 @@ ro.config.media_vol_steps=30 ro.config.vc_call_vol_steps=8 # Bluetooth +bluetooth.device.class_of_device=90,2,12 bluetooth.profile.asha.central.enabled=true bluetooth.profile.a2dp.source.enabled=true bluetooth.profile.avrcp.target.enabled=true