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

Skip to content
Commit fdcd0200 authored by Jakub Rotkiewicz's avatar Jakub Rotkiewicz
Browse files

[avrc] Fix SendPlayerSettingsChanged logging

Instead of such logs:
10-18 12:42:48.389767  2203  2203 I bt_stack: [INFO:avrcp_service.cc(570)] attribute=PlayerAttribute::REPEAT : value=PlayerRepeatValue::OFF
10-18 12:42:48.389767  2203  2203 I bt_stack: attribute=PlayerAttribute::SHUFFLE : value=PlayerShuffleValue::OFF
10-18 12:42:48.389767  2203  2203 I bt_stack:

print:
03-15 11:38:19.864  4673  4673 I bluetooth: packages/modules/Bluetooth/system/btif/avrcp/avrcp_service.cc:569 SendPlayerSettingsChanged: {attribute=PlayerAttribute::REPEAT : value=PlayerRepeatValue::OFF}, {attribute=PlayerAttribute::SHUFFLE : value=PlayerShuffleValue::OFF}

Also handle the case when attributes size does not match values size.

Test: None - log only
Tag: #feature
Bug: 329809288
Change-Id: I2c5a0c36d6728c93f52ac5a4b8e835952f47d4f6
parent af3f35a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment