summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Dichen Zhang <dichenzhang@google.com> 2023-01-04 12:01:16 -0800
committer Dichen Zhang <dichenzhang@google.com> 2023-01-04 16:14:27 -0800
commit63d9251fd4dd9c4d9fcfe579dc17bc8e656a2264 (patch)
tree1fbe20e0cfc68f7628cd3f047c14541f10f12df4 /libs/gui/LayerState.cpp
parent990ff7ba368f3d24ba6ac25321e326c82f13d620 (diff)
jpegrecoverymap: create new address instead of changing the input jpeg
JPEG buffer from camera service is read-only, and the old logic will cause test failures. Besides, we'd better NOT change the input data. Bug: b/263609305 Test: atest -c -d \ cts/tests/camera/src/android/hardware/camera2/cts/ImageReaderTest.java#testJpegR atest -c -d \ frameworks/native/libs/jpegrecoverymap/tests/recoverymap_test.cpp#encodeFromJpegThenDecodeatest Change-Id: I4bfef72605d3342f86054571f52fc4873992142c
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions