Merge "Delay the second message for 30ms more than the last message for a2dp" into lmp-mr1-dev

This commit is contained in:
Matthew Xie
2015-01-27 18:13:39 +00:00
committed by Android (Google) Code Review

View File

@@ -4714,7 +4714,7 @@ public class AudioService extends IAudioService.Stub {
synchronized (mLastDeviceConnectMsgTime) {
long time = SystemClock.uptimeMillis();
if (mLastDeviceConnectMsgTime > time) {
delay = (int)(mLastDeviceConnectMsgTime - time);
delay = (int)(mLastDeviceConnectMsgTime - time) + 30;
}
}
}