summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2019-11-04 16:15:08 +0000
committerTony Mak <tonymak@google.com>2019-11-05 14:01:01 +0000
commit990973099ca9aa67add13f094ef7695bab3f72b6 (patch)
tree1a3170725ad03377361498eada003a43dab902b2 /tools/aapt2/java/JavaClassGenerator.cpp
parent868426bfb3ceb2db20fa62f58001bfb0a3cd929b (diff)
Make smart actions icon to respect dark theme setting
Problem: The context from getPackageContext() does not have the theme set. Solution: Use the SystemUI theme to inflate the icon. And we probably want to have a unified theme for all action chips anyway. Test: Send myself a message "Code 12345", Verify that the icon works in both light and dark theme. Test: Send myself a message "www.android.com", verify that the app icon is shown properly in both light and dark theme Fixes: 142972040 Change-Id: I60f5fbea802fe1fdf498e93dfa4fdcebf38af78c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions