Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-av: Commit

frameworks/av


Commit MetaInfo

Revisioncee606de904204e96447ae9010ab40bb151bf3bf (tree)
Time2019-07-18 13:11:27
Authorandroid-build-team Robot <android-build-team-robot@goog...>
Commiterandroid-build-team Robot

Log Message

Merge cherrypicks of [8681848, 8682094, 8682365, 8682497, 8682498, 8682518, 8682519, 8681849, 8681887, 8681888, 8682539, 8682540, 8682541, 8681283, 8682521] into qt-release

Change-Id: Ic6e5a0ed8a340bb3d3b13e353acf5edbebea8306

Change Summary

Incremental Difference

--- a/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
+++ b/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
@@ -2396,7 +2396,8 @@ void AudioPolicyManager::checkCloseInputs() {
23962396 for (size_t i = 0; i < mInputs.size(); i++) {
23972397 const sp<AudioInputDescriptor> input = mInputs.valueAt(i);
23982398 if (input->clientsList().size() == 0
2399- || !mAvailableInputDevices.containsAtLeastOne(input->supportedDevices())) {
2399+ || !mAvailableInputDevices.containsAtLeastOne(input->supportedDevices())
2400+ || (input->getAudioPort()->getFlags() & AUDIO_INPUT_FLAG_MMAP_NOIRQ) != 0) {
24002401 inputsToClose.push_back(mInputs.keyAt(i));
24012402 } else {
24022403 bool close = false;
Show on old repository browser