Avoid crash in loading images

Bug: 25165935
Change-Id: I3cef0e075cb6e306dd9e11a8d29bfc718e21ec13
1 file changed