Fix wrong lock scope

mLastQueued* need to be atomic with respect to
mCore->mLastQueuedSlot, and all of them should be
guarded by the mCore->mMutex lock not the mCallbackMutex

Fixes: 311854672
Test: atest --rerun-until-failure 1000 android.view.cts.PixelCopyTest
Change-Id: Iccd7a5ca36d0ee1d87687e1643074d39ad059e01
1 file changed