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

Skip to content
Commit f37f198e authored by Eric Laurent's avatar Eric Laurent
Browse files

AudioFlinger: fix player ID generation after crash

The uniqued ID generator will generate the same player  IDs after a native
audioserver restarts as it always resumes genrating from 1.
This can be a problem as the player ID of existing clients is
preserved by java audioservice and reused when the client reconnects after a
native audioserver process crash.

This change is an extension to commit f43be0c7 to cover Player IDs in addition
to session Ids.

Bug: 189810552
Test: make
Change-Id: Ic4796958bb520f9d13f97ae27b3776506f70082f
parent c52f8f4e
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