commit | eb46cf924deae98c5edaad20da3bd123217ab947 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Wed Mar 06 10:13:38 2019 -0800 |
committer | Andy Hung <hunga@google.com> | Wed Mar 06 10:15:57 2019 -0800 |
tree | 0e451ec457ded176ce8fc4bf6dcef686832c5a10 | |
parent | bb08e4d99b0915f4b25fefeda9c833c96ceb785a [diff] |
AudioTrackThread, AudioRecordThread: enable Java calling When an AudioTrack or AudioRecord is created by system server, if restoreTrack_l() or restoreRecord_l() is called from AudioTrackThread or AudioRecordThread, and that then calls audioserver through binder, which then calls a Java service, binder recursion may call Java on the original calling thread. Test: bluetooth calls don't crash Bug: 126948865 Bug: 127619936 Change-Id: I41fcb666d07c4ab985f5590e40e0c310709e786d