commit | 7a69812823651e02e736fdc22c2eeda0fdcb3faa | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Wed Aug 30 18:50:06 2023 +0000 |
committer | Shunkai Yao <yaoshunkai@google.com> | Tue Oct 10 21:51:26 2023 +0000 |
tree | dbd20cbe1a1609d9ebed7a2aa50f961e6b665fd6 | |
parent | d696063c2f473202106ff1f1737b72627aaa49fe [diff] |
Start/stop foreground service delegate for musicfx app. - Add MusicFxHelper class. - Add UidObserver for each MusicFx user, and send session close whenever an application gone. - In the case of MusicFx process not existing, do a bindService with BIND_AUTO_CREATE flag to create the service before start foreground service delegate. Bug: 293204643 Test: Testing with YTM and Spotify with MusicFx panel Test: dumpsys activity -a Change-Id: I58fb58a73cc6ca8f8029be3e65d55667b6613848