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: I7431a54451f274b2db7a620b6433140128e98283
1 file changed