OSDN Git Service

Prevent potential deadlock in Hearing Aids
authorStanley Tng <stng@google.com>
Fri, 16 Nov 2018 19:34:28 +0000 (11:34 -0800)
committerStanley Tng <stng@google.com>
Tue, 20 Nov 2018 22:06:59 +0000 (14:06 -0800)
commite00f6b1a27f5c551ec35e3e7546a016516b193a0
tree15d08ff0427fc9c172d3bb83a7b59a4fcd90d358
parente72c597aa7b936a163d0fe027d33339a5603d9be
Prevent potential deadlock in Hearing Aids

Prevent a potential deadlock when calling the main thread but the main
thread is not running.

Bug: 117619792
Test: Manual test to make sure no regression
Change-Id: I6e001533144827b17b88547671765f790ed771bd
bta/hearing_aid/hearing_aid_audio_source.cc