commit | 5507671b2ecba6c2e2de7df1a2177776f4a8db46 | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Tue Feb 28 19:59:30 2017 -0800 |
committer | Hall Liu <hallliu@google.com> | Tue Feb 28 19:59:30 2017 -0800 |
tree | be1f5be11fb6b34e549628168cafd4a21592ead5 | |
parent | 4e068b34363901d4c1ee257d5b9eaf3894e5b3ea [diff] |
Redo DtmfLocalTonePlayer The system of locks in DtmfLocalTonePlayer and the constant thread creation/destruction seems to be behind a system ANR bug. This change refactors the class to rely on a single Handler and associated HandlerThread that lives for the entire duration of Telecom. Bug: 34886553 Test: manual and unit Change-Id: I1d86c644aaecdb6ff93d31e2b9e97792e3e301e0