Otherwise a second thread might dequeue() it in between native_queue_direct and mBuffer = buffer. If that happens the dequeue operation does mBuffer.isDirect which triggers a NPE. Fixes: 30914003 Change-Id: I3ca3b72db8f53a14be1c5f0e37f8924eba44b9bc
72ed12c55f
0a815bb94f
3687be955f
5f87c4539a
40a16ea242
9f341e4e49
c2e96d45d2
cdda4eed12
3d4a10617c
9396da4e10
873a83af3f
e9bac30add
db776ce7f9
01e9682cab
92a534325d
c48b20f8f1
83583bd596
048f3bfaf0
f96d962aac
57fe701ddf
1fd7fadfe4