Skip to content

Commit

Permalink
Fix patch to use 'os::' prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
cawilliamson committed Jan 11, 2024
1 parent dbd61a4 commit d695979
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ index 66b7de6b5e..a51382cd0d 100644
vendor_capabilities_.is_supported_ = 0x01;

+ int vendor_cap_max = 0xffff;
+ std::string vendor_cap_max_prop = GetSystemProperty("persist.sys.bt.max_vendor_cap").value_or("");
+ std::string vendor_cap_max_prop = os::GetSystemProperty("persist.sys.bt.max_vendor_cap").value_or("");
+ if (vendor_cap_max_prop != "") {
+ vendor_cap_max = std::stoi(vendor_cap_max_prop);
+ }
Expand Down

0 comments on commit d695979

Please sign in to comment.