am 46c3304a
: am 485813a0
: Merge "Delay the second message for 30ms more than the last message for a2dp" into lmp-mr1-dev
* commit '46c3304aed2cabb592e499b0b3de56a312e1d67f': Delay the second message for 30ms more than the last message for a2dp
This commit is contained in:
@ -4715,7 +4715,7 @@ public class AudioService extends IAudioService.Stub {
|
|||||||
synchronized (mLastDeviceConnectMsgTime) {
|
synchronized (mLastDeviceConnectMsgTime) {
|
||||||
long time = SystemClock.uptimeMillis();
|
long time = SystemClock.uptimeMillis();
|
||||||
if (mLastDeviceConnectMsgTime > time) {
|
if (mLastDeviceConnectMsgTime > time) {
|
||||||
delay = (int)(mLastDeviceConnectMsgTime - time);
|
delay = (int)(mLastDeviceConnectMsgTime - time) + 30;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user