commit | 9b6d51e688f11d9b0c75d1cef8761589a87b2cac | [log] [tgz] |
---|---|---|
author | Adam Bookatz <bookatz@google.com> | Tue Mar 31 12:26:47 2020 -0700 |
committer | Adam Bookatz <bookatz@google.com> | Tue Mar 31 19:35:57 2020 +0000 |
tree | 61971afc3aa28a93c30020cd1682cb2ae0db2730 | |
parent | c70636175c92e9682469f3a56db2c1d1cbbc66fd [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