commit | 06991931150374c98b7e81abef076172c8a46b6e | [log] [tgz] |
---|---|---|
author | Vincent Wang <firewall@google.com> | Fri Jan 07 12:40:00 2022 +0800 |
committer | Vincent Wang <firewall@google.com> | Fri Feb 18 08:24:24 2022 +0000 |
tree | 21c67472d442c904df64b62519daa13f1a5ff766 | |
parent | bf8f40cb63a1fbcd95896ba989d855ed41f2610b [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