commit | 425a50282ebdcc68a4fc01a268be87426889152e | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Tue Mar 14 13:35:37 2017 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Mar 14 13:35:37 2017 -0700 |
tree | 2ffb313e940724f89a47dd01cafa56103ec6c607 | |
parent | 1ac2e2bdf0d232b4518020de7b923c0241b27137 [diff] |
audiohal: Restart audioserver if HAL services can't be obtained HAL services are crucial for the audioflinger to work. If for some reason device or effect factories can't be obtained, log a error message and crash af. If the problem with obtaining services is transient, restarting af helps to restore audio. Bug: 36153684 Change-Id: Iec17a6c6e19650cf1d1de1ec30caf05753b9bce1 Test: reproed the bug, checked that af restarts and finds devices