commit | 2bc7c1838703993e126bfe9a21fee053b6c0ab67 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Mon Aug 28 11:45:01 2017 -0700 |
committer | Phil Burk <philburk@google.com> | Mon Aug 28 12:55:54 2017 -0700 |
tree | 1de62456a6e61f35ca0d3d63947dc5a8f064cbfc | |
parent | 7124c1985b535a7862cd8f2706386a2a0ba676b2 [diff] |
aaudio: fix hang in client when audioserver dies Fix timeout detection so that callback thread can die. Prevent AAudioBinderClient singleton from getting deleted, which caused a subsequent lock on a dead object to hang. Bug: 64988439 Test: "write_sine -m2 -pl" and "adb shell killall audioserver" Change-Id: I044bce385b66e69007d1997f051c9d6c042b7871