projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a15c23e
)
audio/transport: Disable set_volume functionality in DA product
01/312101/2
accepted/tizen_7.0_unified
tizen_7.0
accepted/tizen/7.0/unified/20240605.155451
author
Wootak Jung
<wootak.jung@samsung.com>
Tue, 4 Jun 2024 07:36:12 +0000
(16:36 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Wed, 5 Jun 2024 04:49:10 +0000
(13:49 +0900)
Change-Id: Ibca427f5f6824878c0a615f6792a90139b59993a
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
profiles/audio/transport.c
patch
|
blob
|
history
diff --git
a/profiles/audio/transport.c
b/profiles/audio/transport.c
index
2b05236
..
d47f5f3
100644
(file)
--- a/
profiles/audio/transport.c
+++ b/
profiles/audio/transport.c
@@
-690,6
+690,13
@@
static void set_volume(const GDBusPropertyTable *property,
int8_t volume;
bool notify;
+ if (TIZEN_FEATURE_BLUEZ_FHUB) {
+ error("This function is not supported in DA product");
+ g_dbus_pending_property_error(id, ERROR_INTERFACE ".NotSupported",
+ "Operation is not supported");
+ return;
+ }
+
if (dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_UINT16)
goto error;