DO NOT MERGE Prevent ImageWallpaper from keeping crashing am: a3bff94e18 am: 7c459fe322

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

Change-Id: I6c0581c0c46314dab10d68a7a0d712b25438083e