commit | d2bccdab52aed27b5f0845003585978782019b19 | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Thu May 09 13:33:20 2024 -0700 |
committer | Atneya Nair <atneya@google.com> | Wed May 29 17:48:54 2024 -0700 |
tree | 61fc831c2fd01bc77502704be4dd71663a0e79a5 | |
parent | a3083c67dedc66336c71ca8ca1eb07dc6971244b [diff] |
Add ServiceHolder for AudioPolicy Subsequent commits require registering tasks on the audioserver lifecycle. Pull out management of the binder service lifecycle into a holder class which can register tasks on start/death. Modify DefaultAudioPolicyFacade to use the new ServiceHolder. Bug: 338089555 Test: atest ServiceHolderTest Test: atest AudioManagerTest before and after kill audioserver Flag: EXEMPT: mechanical refactoring Change-Id: I2a72b0800d5073d3007bf46561ffc857fc43fe47