summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Merissa Tan <liyingtan@google.com> 2022-09-29 11:16:25 -0700
committer Merissa Mitchell <liyingtan@google.com> 2022-09-29 18:30:14 +0000
commit59b90a43bd062f304cd999b3734e36216b8cc8e6 (patch)
tree9f98d9ed93f87ca9543ef2b047d37c9c46e93c06 /libs/androidfw/ResourceTimer.cpp
parentff008f07472cde6783e24a357a2506429ad13b83 (diff)
Add a null check to avoid NPE.
Because getTextCursorDrawable() can return null, this CL adds a null check so that it won't cause a NPE on ARC++. Bug: 244632907 Test: Manual Change-Id: I96a7817b2697eedff9f35762124a97d9e04992a8
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions