diff options
author | Fabian Kozynski <kozynski@google.com> | 2020-02-21 13:20:07 -0500 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2020-02-26 20:23:35 +0000 |
commit | 2648a2a99ad9f12c279efbd563f9bc5447070108 (patch) | |
tree | b7a699afcddf853e90edaff7d9150232c557e665 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0b66590fbfae2acff4d937d95705dc5c34827f5f (diff) |
Prevent NPE in CustomTile
The icon is passed by the TileService, so it could null when retrieving
the drawable. Check for null before doing operations on it.
Test: atest CustomTileTest
Fixes: 140479361
Change-Id: I0ee11806c0047e0e524f5201d369bee51beba451
Merged-In: I0ee11806c0047e0e524f5201d369bee51beba451
(cherry picked from commit cfdd8d40934d49ed0c07886d42cb09f84dfe4a71)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions