summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Yi-an Chen <theianchen@google.com> 2023-03-09 23:27:44 +0000
committer Yi-an Chen <theianchen@google.com> 2023-03-17 22:46:51 +0000
commit0fdd409c0f5941785f455b2f00782544d0bb6708 (patch)
treef5e0a2918d0427a7f8206611b1f3be415481fe1a /cmds/bootanimation/BootAnimationUtil.cpp
parent251260206a123428b4084a82912a82cc1871c146 (diff)
Fix SafetyProtectionUtils
This util was expecting getString() and getDrawable() to return null when resource is not found but it's actually throwing an exception. Changed the logic in this class to expect an exception when the resource it not available Bug: 269874157 Test: SafetyProtectionTest Change-Id: I0f3490b59dc2427c2889e25fea529c85d3e1f150
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions