commit | 08df3ad6f8840cc058b729b8c22b1470f5ec1749 | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Mon Jun 08 15:10:05 2020 -0700 |
committer | Hall Liu <hallliu@google.com> | Thu Jul 23 23:54:28 2020 +0000 |
tree | 7033577ab1dfd5dc96421fd9f9416328544965cc | |
parent | c8ac04d23fbb0e01f637090f4bd41435bdab9b09 [diff] |
Don't track speakerphone state outside calls To prevent calls from starting in speakerphone, stop tracking speakerphone state when not in a call. Test: atest CallAudioRouteTransitionTests Test: manual -- receive call while playing voicemail over speaker Fixes: 152939693 Fixes: 161781504 Change-Id: I78d7e46fa6c99bf1e974f98fd4980077a99b39fe (cherry picked from commit b40771835afff63619e9999d497df608b2755e1c)