Merge "Throw IOE from within resolveImage rather than NPE." into rvc-dev am: 36060929b4

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12036439

Change-Id: I5bb67c8133e5b5884b671b65238391267972bd45