OSDN Git Service

Fix "Disable Absolute Volume" Bluetooth develop option work
authorTed <tedwang@google.com>
Fri, 17 Aug 2018 10:49:37 +0000 (18:49 +0800)
committerTed <tedwang@google.com>
Tue, 21 Aug 2018 03:53:43 +0000 (11:53 +0800)
commit1ccb7c3489d6775821921ce97bf8b98eb7f7a70c
tree0d9f2236313703143d8b0b6075abd5b881005550
parentf827e9fc320861552d884a2706c5a93fe33c69e3
Fix "Disable Absolute Volume" Bluetooth develop option work

Do not report device support absolute volume while
"Disable Absolute Volume" in developer option is enabled or
the remote device is listed in the interoperability database.

Test: manually adjust volume when Disable Absolute Volume is enabled
Bug: 112193362
Change-Id: Id63a22dba0d8a871035774fc86b66d32e9225b48
Merged-In: Id63a22dba0d8a871035774fc86b66d32e9225b48
device/Android.bp
profile/avrcp/Android.bp
profile/avrcp/connection_handler.cc