summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWootak Jung <wootak.jung@samsung.com>2024-02-29 11:18:14 +0900
committerWootak Jung <wootak.jung@samsung.com>2024-03-04 08:07:11 +0900
commita6c520cf7e35bc230050d346fc1fcbbef1e6bfcb (patch)
tree4ddeebacaa81f20f9944b63b873bab67e09e2834
parentd3be6a9404f73ee12f18ed0c0fd778e6808d0e74 (diff)
downloadbluez-accepted/tizen_unified.tar.gz
bluez-accepted/tizen_unified.tar.bz2
bluez-accepted/tizen_unified.zip
Change-Id: Ibd4e485a594b2644ef5ab89de8e559a766480cf0 Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
-rw-r--r--src/device.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index 270053d9..eaf9e5fa 100644
--- a/src/device.c
+++ b/src/device.c
@@ -7369,8 +7369,13 @@ void device_unpair(struct btd_device *device, gboolean remove_stored)
device->trusted_profiles.pbap = SHOW_AUTHORIZATION;
device->trusted_profiles.map = SHOW_AUTHORIZATION;
device->trusted_profiles.sap = SHOW_AUTHORIZATION;
- device->trusted_profiles.hfp_hs = SUPPORTED_TRUSTED;
- device->trusted_profiles.a2dp = SUPPORTED_TRUSTED;
+ if (TIZEN_MODEL_DA) {
+ device->trusted_profiles.hfp_hs = SHOW_AUTHORIZATION;
+ device->trusted_profiles.a2dp = SHOW_AUTHORIZATION;
+ } else {
+ device->trusted_profiles.hfp_hs = SUPPORTED_TRUSTED;
+ device->trusted_profiles.a2dp = SUPPORTED_TRUSTED;
+ }
if (device->alias != NULL) {
/* Remove alias name because
* In UG if we rename and then unpair device and