[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
Loading
Please register or sign in to comment