diff options
author | Robin Lee <rgl@google.com> | 2018-01-04 17:50:18 +0100 |
---|---|---|
committer | Robin Lee <rgl@google.com> | 2018-01-04 16:55:24 +0000 |
commit | 76dc52ac36cfbe86ccc62e72fd9094bff2c42df0 (patch) | |
tree | 7234c5f42a2de390cd67b9c6b757b86861e9c86b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ec397abf931a39ed1c3d36f0af4ee9a68b883b07 (diff) |
Fix small but crashy edge case in Icon.scaleDown
Plus a regression test which throws an Exception for the old version. It
shouldn't be an issue in the real world because there's absolutely no
reason any app should be creating 1920*3px icons.
Found while porting the code somewhere else.
Test: runtest -x ./core/tests/coretests/src/android/graphics/drawable/IconTest.java
Change-Id: I1283d982507221914ddad1313e16f63af13e245a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions