summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2017-08-21 15:55:43 -0700
committerEric Erfanian <erfanian@google.com>2017-08-30 11:21:54 -0700
commit7d7aa42abb000b1576d7ec7b74462295479e3452 (patch)
treece87abb3781be4bd6c062becdb6f86178ece8c46 /assets
parent4b2abce679a35d4ecc05c2dce1db1fc06df68153 (diff)
Guess the correct routing when initializing AudioModeProvider
Previously the default route for AudioModeProvider is ROUTE_EARPIECE. The in call ProximitySensor is initialized before InCallServiceImpl is fully bound, and the real route is not updated by telecom yet, which will cause a proximity wake lock to be held on bluetooth and turn off the screen. In this CL, when initializing AudioModeProvider the routing will be guessed based on what audio devices is connected. Bug: 64211001 Test: AudioModeProviderTest PiperOrigin-RevId: 165987811 Change-Id: I0a976a9654fbf5b6f966d45d219a3d3685b207f5
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions