diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2020-09-16 09:17:20 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2020-09-25 09:45:47 -0700 |
commit | a4382990d9aff27e9422a7d89265ff5a6fe9d4ef (patch) | |
tree | 761ae31f7b50a0762471f39d631f42bf5712e040 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 34741dbaabb8e0c0d55940cc0f648fb111a3c641 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions