Use sendVolumeKeyEvent API instead of sendKeyEvent API
sendKeyEvent API always forwards the key control to the TV. But for volume keys, we want it to be forwarded to the audio system if system audio mode is on and if we are not a audio system itself. sendVolumeKeyEvent can handle this logic. Test: manual Bug: 129116245 Change-Id: I6b81072ab49c092fac65cd542c19e611fc939cea Merged-In: I6b81072ab49c092fac65cd542c19e611fc939cea (cherry picked from commit ada40f59b63fe613448278a7cfbb7055146f8ccd)
Loading
Please register or sign in to comment