summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Bookatz <bookatz@google.com>2020-03-31 12:26:47 -0700
committerAdam Bookatz <bookatz@google.com>2020-03-31 19:35:57 +0000
commit9b6d51e688f11d9b0c75d1cef8761589a87b2cac (patch)
tree61971afc3aa28a93c30020cd1682cb2ae0db2730 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc70636175c92e9682469f3a56db2c1d1cbbc66fd (diff)
Avoid getUserBadgeNoBackgroundResId if no badge
Checks whether there actually is a badge before calling getUserBadgeNoBackgroundResId. (Otherwise a logcat error would have been logged, since it is only expected to be called if there is indeed a badge.) Test: manual confirmation that logcat error is gone Bug: 142482943 Change-Id: I635529d9c114b399e5626bdbb143aab29ae81a4b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions