| commit | 0503b823d4afdb9fe6961bfa1befc473a089df97 | [log] [tgz] |
|---|---|---|
| author | Atneya Nair <atneya@google.com> | Mon Aug 18 23:03:50 2025 -0700 |
| committer | Atneya Nair <atneya@google.com> | Tue Aug 19 17:01:02 2025 -0700 |
| tree | 406d360bb80fbc05f3f545d2bd244e1a7b8d76d2 | |
| parent | 6ebbf65b421da58e0a3e74aadbff9ae32d72dc20 [diff] |
[audio] Fix AudioRecordingMonitorImpl leak Ensure that we don't leak resources if all callbacks aren't unregistered prior to release. Remove handler thread to align with avoiding handler trampolines when consuming executors, which also avoids the additional thread cost and leak risk. Some minor refactoring/cleanup as part of these changes. Bug: 432245274 Flag: EXEMPT bugfix Test: atest AudioRecordTest Change-Id: I6a6a6964bcf78f9acc47a4eaebe45f39918011f2