Disable absolute volume if the remote device rejects registration
Instead of trying to re-register for a rejected volume changed notification, disable absolute volume. This prevents spinning if a remote device continuously rejects all attempts to register. A volume level of -2 will be used to represent that the volume notification was rejected. Bug: 77238060 Test: Run host native test net_test_avrcp Change-Id: I228524fb30348ca691d0792f0c7bcc4653d1fcef
Showing
- system/packet/tests/avrcp/avrcp_test_packets.h 4 additions, 0 deletionssystem/packet/tests/avrcp/avrcp_test_packets.h
- system/profile/avrcp/device.cc 22 additions, 3 deletionssystem/profile/avrcp/device.cc
- system/profile/avrcp/tests/avrcp_device_test.cc 19 additions, 0 deletionssystem/profile/avrcp/tests/avrcp_device_test.cc
Loading
Please register or sign in to comment