Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e7c78df2 authored by Jan Sebechlebsky's avatar Jan Sebechlebsky Committed by Ján Sebechlebský
Browse files

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
parent 83adafdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment