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

Skip to content
Commit a4382990 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioService: optimize service creation

  Delay a number of stream and volume initialization steps
to after the creation of the service to reduce system_server
initialization time.
  Clean-up:
- class StreamVolumeCommand should be static, it doesn't access
  AudioService resources
- make mRmtSbmxFullVolDeathHandlers and mAudioServerStateListeners
  final as they are never modified after creation, and used for
  synchronization.

Bug: 164516518
Test: atest AudioManagerTest
Change-Id: I9afd7989793f20480b3059ee80ab403c5e4ee969
parent 34741dba
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