summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2022-03-30 14:16:57 +0000
committer Jernej Virag <jernej@google.com> 2022-03-30 14:44:55 +0000
commit26e492cc4b1ac3dd9fcea6e51c78373864fe2cb7 (patch)
treecfa71f235e044ec5272c4abf8e2c7bb819bd9db9 /libs/input/SpriteController.cpp
parent0d8aaf4b6bd7b9d796a7fc806563b84dd625a4a2 (diff)
Fix handling of negative size request for Bitmaps in LocalImageResolver
Requesting negative sized bitmap should mean "no restrictions" and not "please resize to -1x-1". This fixes the corner case for pure bitmaps. Also reduce severity of logging when we're falling back to non-ImageDecoder load since that's not a catastrophic failure. Bug:227103943 Bug:227008805 Test: tested on device with Notify1.apk while reproducing the issue atest LocalImageResolver with new tests Change-Id: I581d3e637fcafaba68856738f90cc72c42442d60
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions