Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1d467c1 authored by kuanyuhuang's avatar kuanyuhuang
Browse files

Default enable dynamic avrcp version

Default enable dynamic avrcp version.
To disable: adb shell setprop persist.bluetooth.dynamic_avrcp.enable
false

Bug: 231289728
Ignore-AOSP-First: for internal products
Tag: #feature
Test: manual
Change-Id: I3280847ea95edb6affbdb700e4e4ace300cf3903
parent 87b15809
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -490,7 +490,7 @@ void ConnectionHandler::SdpCb(RawAddress bdaddr, SdpCallback cb,
        }
      }

      if (osi_property_get_bool(AVRC_DYNAMIC_AVRCP_ENABLE_PROPERTY, false)) {
      if (osi_property_get_bool(AVRC_DYNAMIC_AVRCP_ENABLE_PROPERTY, true)) {
        avrc_->SaveControllerVersion(bdaddr, peer_avrcp_version);
      }
    }
+1 −1
Original line number Diff line number Diff line
@@ -1293,7 +1293,7 @@ void sdpu_set_avrc_target_version(const tSDP_ATTRIBUTE* p_attr,

  // Dynamic ACRCP version. If our version high than remote device's version,
  // reply version same as its. Otherwise, reply default version.
  if (!osi_property_get_bool(AVRC_DYNAMIC_AVRCP_ENABLE_PROPERTY, false)) {
  if (!osi_property_get_bool(AVRC_DYNAMIC_AVRCP_ENABLE_PROPERTY, true)) {
    LOG_INFO(
        "Dynamic AVRCP version feature is not enabled, skipping this method");
    return;