diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-03-16 17:42:04 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-03-16 17:42:04 -0700 |
commit | ba9576d977c0379f5fb302c7db1b234b253919ad (patch) | |
tree | 4005d066200210436d58a48db57749956f162650 /docs/html/sdk/api_diff/24/changes | |
parent | 2bd530e1562bcbf99b6d1b2f447b4b835d3bc43e (diff) |
AssetManager: Guard against null in array retrieval
Resources does the right thing and throws NotFoundException
if the result from AssetManager.getResourceTextArray() is null,
but AssetManager itself doesn't guard from the native implementation
returning null.
This lets callers always protect against missing resources via
catching NotFoundException.
Change-Id: I4f7ad32819bc9598efb28dbb10a59ff5201ecfca
Test: manual
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions