summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Vincent Wang <firewall@google.com> 2022-01-07 12:40:00 +0800
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2022-03-15 18:16:17 +0000
commitb1b01433f5b8dc0702c0e1abde5f7b86b708a849 (patch)
tree6ca47f946202b24d98157391be4d8775c8214119 /api/api.go
parent9a1dfd9a9de3bb33cd81e3003251b49f7862f276 (diff)
Replace BitmapRegionDecoder with ImageDecoder
1. generateCrop() couldn't handle super huge size because BitmapRegionDecoder will occupy too much native heap during process, We replace old decoder with ImageDecoder 2. Fix overflow problem in debug message 3. Add a record file to note if ImageDecoder work well Bug: 204087139 Test: Manually set wallpaper, no PDoS observed. Change-Id: I59cf3c21edce836ffbe9f24a08b3a8e077c5fcf3 Merged-In: I59cf3c21edce836ffbe9f24a08b3a8e077c5fcf3 (cherry picked from commit 08d14944212a7026218bde79091f0d1d48bc1c79) Merged-In: I59cf3c21edce836ffbe9f24a08b3a8e077c5fcf3
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions