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 573 forks source link

OboeTester crashes for Test Output when "enable foreground service" is toggled #2099

Closed robertwu1 closed 2 months ago

robertwu1 commented 2 months ago

The OboeTester foreground service requires RECORD_AUDIO permissions but this is only requested for tests that need to record audio.

Repro steps:

  1. Open OboeTester
  2. Press "enable foreground service"
  3. Press Test Output

Expected Result: OboeTester asks for permissions

Actual Result: OboeTester crashes