Check for ImageView before casting it
am: 44702acd10

Change-Id: I55c189ffbbb1ee8dbad11a74a1be5d8e28215475