summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author Santiago Seifert <aquilescanta@google.com> 2023-04-20 11:34:31 +0000
committer Santiago Seifert <aquilescanta@google.com> 2023-04-21 14:51:59 +0000
commitbf91f0b8ce0ebb4c597cae7d8da0fc6fd4323cce (patch)
tree179c8a8b73c931643366689b2e9ed1fd4072b0d3 /native/android/input.cpp
parent2b31afee536a347f79d29241757a9fa5d257f4db (diff)
Update current device when volume control id changes
The volume control id determines the routing session info associated to the media session. This means when transferring remote to remote, the check before this changewon't detect the playback transfer, as it only checks for REMOTE <-> LOCAL. With this check, we will update the current media device whenever the media session advertises its association with a different routing session info. Bug: 269985505 Test: atest MediaDeviceManagerTest Change-Id: Ifdbec9e6353602fd9e1774f3aa8d97363f8e506d
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions