commit | 0dd5185555db64af2cb5ff1e161629054086abb6 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Apr 19 18:18:58 2019 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Apr 22 08:41:05 2019 -0700 |
tree | c2e0f9c49b263891bf94522226337d922da0b95e | |
parent | 8263e3519b6801f019e471efe4a6045b7046e4d3 [diff] |
audio policy: improve input device connection logic Do not systematically close all inputs when an input device is connected or disconnected but only those affected by the change. Also: - refactor setDeviceConnectionStateInt() to align input and output devices connection sequence - remove unused "inputs" argument to checkInputsForDevice() Bug: 126370328 Test: phone call, video call , camcorder, assistant, auto projected Change-Id: I27734b32da97ad4790d6cd74eaaf866e414db211