Merge "Merge "Fix BT keeping wrong state issue" am: 7cd490c941 am: 4f73919dd7" into qt-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
ec5db12440
@@ -729,6 +729,9 @@ public class MediaSessionRecord implements IBinder.DeathRecipient {
|
|||||||
PlaybackState state;
|
PlaybackState state;
|
||||||
long duration;
|
long duration;
|
||||||
synchronized (mLock) {
|
synchronized (mLock) {
|
||||||
|
if (mDestroyed) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
state = mPlaybackState;
|
state = mPlaybackState;
|
||||||
duration = mDuration;
|
duration = mDuration;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user