diff options
author | Beth Thibodeau <ethibodeau@google.com> | 2020-04-20 23:26:25 -0400 |
---|---|---|
committer | Beth Thibodeau <ethibodeau@google.com> | 2020-04-21 14:11:04 -0400 |
commit | d3ad81d4a61a85a7d1df170c70754a647ae5c07f (patch) | |
tree | 236c247d46dfc08fb5cd1e02d598da3cce752898 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a16b8b31f8c230cbe74af653a662d68e9c2ea5ca (diff) |
Improve album art handling
- Use ThumbnailUtils to handle resizing and cropping images to the right
dimensions
- Check alternate fields for album art information, preferring URIs over
bitmap, with largeIcon as a fallback if none of those fields are set
Fixes: 153178112
Fixes: 151054111
Fixes: 152067055
Test: visual
Change-Id: Iea23e1159ffaecac31d0f475c129e8b927a38b86
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions