summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2020-02-21 13:20:07 -0500
committerFabian Kozynski <kozynski@google.com>2020-02-26 20:23:35 +0000
commit2648a2a99ad9f12c279efbd563f9bc5447070108 (patch)
treeb7a699afcddf853e90edaff7d9150232c557e665 /startop/scripts/lib/cmd_utils.py
parent0b66590fbfae2acff4d937d95705dc5c34827f5f (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 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions