summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Jayant Chowdhary <jchowdhary@google.com> 2022-07-19 23:51:40 -0700
committer Jayant Chowdhary <jchowdhary@google.com> 2022-07-20 18:33:45 +0000
commitcff610bf0e7270de1ca220f09c828a08ceb9417e (patch)
treed4d606ebc5a8255f7d8da1fc3aaef2ddd70a7a28 /libs/androidfw/misc.cpp
parent0de21da96660e28e1ef5aa7aa4630e593c597167 (diff)
camera2: update original ByteBuffer using bulk get on 'viewed' ByteBuffer for correct position
When we use any of the viewed methods from ByteBuffer such as asFloatBuffer, the returned buffer's position and the original ByteBuffer's positions are independent. So update the original ByteBuffer's position as well, for correct accounting. Bug: 239639757 Test: Camera CTS; GCA Test: MarshalQueryableArray error logs don't appear in logcat while using GCA Change-Id: I488a23c278ee5d044c2423a616e598a93cbbad0b Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions