am 485813a0: Merge "Delay the second message for 30ms more than the last message for a2dp" into lmp-mr1-dev
* commit '485813a00cfd857fadab30c67cab985835857801': Delay the second message for 30ms more than the last message for a2dp
This commit is contained in:
@@ -4714,7 +4714,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