commit | a6dedb7468e85a4a0eba2c43c2e71073bf09694f | [log] [tgz] |
---|---|---|
author | Yi-an Chen <theianchen@google.com> | Tue Mar 14 00:02:33 2023 +0000 |
committer | Yi-an Chen <theianchen@google.com> | Thu Mar 16 20:52:51 2023 +0000 |
tree | 5dfa0f2f9e1430f7d7c911592bfd36232e9c74cf | |
parent | f8079db147c926a3fdbd631867c7d56da6dad490 [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: I7431a54451f274b2db7a620b6433140128e98283