google / oboe

Oboe is a C++ library that makes it easy to build high-performance audio apps on Android.
Apache License 2.0
3.72k stars 572 forks source link

OboeTester: Foreground service type should depend on activity type #2106

Closed robertwu1 closed 1 month ago

robertwu1 commented 2 months ago

Currently, the OboeTester foreground service declares that its service types are both media playback and microphone, regardless of what activity is used.

Test Input and Test Output should be different service types when using a foreground service. This PR makes this change. This allows us to undo an confusing commit #2100.

Fixes #2105