aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Arya <aryarahul@google.com>2023-03-29 00:28:14 +0000
committerCherrypicker Worker <android-build-cherrypicker-worker@system.gserviceaccount.com>2023-03-30 04:42:01 +0000
commitad182dc60414c24a16294962361d7d23870f158d (patch)
treed7b2b2c65e8af3a47b9e956b4934ac36bf9cece3
parent14a8fa524bf25203c632779f1e3ece93e3694968 (diff)
downloadbt-android12L-gsi.tar.gz
[RootCanal] Disable READ_DEFAULT_ERRONEOUS_DATA_REPORTING on old rootcanalandroid12L-gsi
It's not supported here, breaking GSI tests. Bug: b/275596201 Test: presubmit (cherry picked from https://android-review.googlesource.com/q/commit:54cf6c666a6915befbd4fc0af8dcc8c3b027e549) Merged-In: Idaf41bdaf05720879912bc6f092d75503f0fdcf3 Change-Id: Idaf41bdaf05720879912bc6f092d75503f0fdcf3
-rw-r--r--vendor_libs/test_vendor_lib/model/devices/device_properties.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor_libs/test_vendor_lib/model/devices/device_properties.cc b/vendor_libs/test_vendor_lib/model/devices/device_properties.cc
index 503ad4578..38fcd7682 100644
--- a/vendor_libs/test_vendor_lib/model/devices/device_properties.cc
+++ b/vendor_libs/test_vendor_lib/model/devices/device_properties.cc
@@ -70,6 +70,8 @@ DeviceProperties::DeviceProperties(const std::string& file_name)
// Use SetSupportedComands() to change what's supported.
for (int i = 35; i < 64; i++) supported_commands_[i] = 0x00;
+ supported_commands_[18] &= ~(1 << 2);
+
le_supported_features_ = 0x1f;
le_supported_states_ = 0x3ffffffffff;
le_vendor_cap_ = {};