commit | 4128e36cd8430dfbed16d364e6ab5265e1642db5 | [log] [tgz] |
---|---|---|
author | Zhihai Xu <zhihaixu@google.com> | Wed Jan 08 11:45:17 2014 -0800 |
committer | Zhihai Xu <zhihaixu@google.com> | Wed Jan 08 11:45:17 2014 -0800 |
tree | 83f18430a833bce1f059ea32d83a0266cbc42fa3 | |
parent | 6567fa2d9d9d4f30e9ff5d1eb17794fae4771458 [diff] |
increase the bluetooth task priority when start a2dp. change the BT task priority based on audio play state. increase the BT task priority to ANDROID_PRIORITY_URGENT_AUDIO ,when start ad2p audio playing. to better prevent CPU premption by other process/task(UI). restore the BT task priority when stop a2dp audio playing. bug:12082841 Change-Id: I34e8344cffea87f68987149c820cd3e84a4196d1