summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Jan Sebechlebsky <jsebechlebsky@google.com> 2023-08-30 16:34:35 +0200
committer Ján Sebechlebský <jsebechlebsky@google.com> 2023-09-08 08:21:53 +0000
commite7c78df20888f027391e5da16b6368d2870afa67 (patch)
tree123a36154cad1c60f4cacfb7a45161e432e3ef8c /libs/androidfw/AttributeResolution.cpp
parent83adafdcd5181e981b0fb114358a76fa42bc04d4 (diff)
Fix MediaPlayer device-aware session id configuration.
Factory .create methods shouldn't implicitly generate new audio session id, but pass AUDIO_SESSION_ALLOCATE instead. This will case the MediaPlayer constructor to generate audio session id when needed, but won't prevent it from using a device-specific audio session id if there's one asociated with the context. Bug: 298002296 Test: atest MediaPlayerUnitTest Change-Id: I4947c09c9ab3ba905c6016466b45fc107ee7e2e0
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions