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

Skip to content
Commit c0fad8a2 authored by Sriranjan Srikantam's avatar Sriranjan Srikantam Committed by Arne Coucheron
Browse files

mediaplayer: Fix AudioFlinger create track failure

- AudioFlinger track creation fails after mediaserver crash
- Mediaplayer doesn't register for new sessionId value if
mediaserver crashes during a song switch of music player
and it uses the old sessionId though sessionId values are
reset by AudioFlinger.
  AudioFlinger assigns the same sessionId to Tone Generator
and since strategies of these two session differ it would
result in track creation failure.
- Fix this issue by registering for new sessionId for
mediaplayer if mediaserver crashes in idle state

Change-Id: I25c01842d7df4f4eb0f9d084a648d6d1a88fa926
CRs-fixed: 271002
parent c238fa35
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