From 8c5b4c367a0ff0f98362afcb752e5e1e5e89840f Mon Sep 17 00:00:00 2001 From: Richard Chang Date: Fri, 16 Sep 2022 07:50:19 +0000 Subject: [PATCH 1/2] powerhint: clean up unused hints in L10 INTERACTION is removed but some actions still use it. Bug: 246738037 Test: pts-tradefed run commandAndExit pts -m PtsPerformanceTestCases -t com.google.android.perf.pts.PowerHintJsonVerifyTest Change-Id: Id7028106ac7ff1d41dc7d325aad5fa4d69bc2a54 --- powerhint.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/powerhint.json b/powerhint.json index 6430e54..a441693 100644 --- a/powerhint.json +++ b/powerhint.json @@ -1286,11 +1286,6 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "DISPLAY_IDLE", - "Type": "EndHint", - "Value": "INTERACTION" - }, { "PowerHint": "DISPLAY_IDLE", "Type": "EndHint", From cfad191e5a58ac7b3c638a9fcfc0d950fdcb1a8c Mon Sep 17 00:00:00 2001 From: shihchienc Date: Mon, 25 Jul 2022 04:26:27 +0000 Subject: [PATCH 2/2] Add by project le audio offload capabilities config file We create by project offload capabilities config file to make each project have its own customized default device offload capabilities. Bug: 238983662 Test: make sure file added in config folder can be copied into devices Change-Id: I517ad3db7d60e1fd8647561387cebd9524fe4f2f --- .../lynx/le_audio_codec_capabilities.xml | 84 +++++++++++++++++++ bluetooth/qti_default.mk | 4 + 2 files changed, 88 insertions(+) create mode 100644 bluetooth/lynx/le_audio_codec_capabilities.xml diff --git a/bluetooth/lynx/le_audio_codec_capabilities.xml b/bluetooth/lynx/le_audio_codec_capabilities.xml new file mode 100644 index 0000000..cfb915b --- /dev/null +++ b/bluetooth/lynx/le_audio_codec_capabilities.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index 6132dec..5f508b8 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -36,6 +36,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.leaudio_offload.disabled=false \ ro.vendor.audio_hal.ble_use_stream_id=true +# LE Auido Offload Capabilities setting +PRODUCT_COPY_FILES += \ + device/google/lynx/bluetooth/lynx/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml + # Bluetooth HAL and Pixel extension DEVICE_MANIFEST_FILE += \ device/google/lynx/bluetooth/manifest_bluetooth.xml