OSDN Git Service

Avoid crashing on corrupted notifications.
authorDan Sandler <dsandler@android.com>
Wed, 25 Feb 2015 18:20:39 +0000 (13:20 -0500)
committerThe Android Automerger <android-build@google.com>
Thu, 26 Mar 2015 01:49:42 +0000 (18:49 -0700)
commit4faaaf6457f55b71018c5e254eff59a6f0ce6c6a
tree81c8cf5e3730a1b60672f8d4c221b16fac070a16
parent157cf3317c7104e7afd8a24eaac1467b9bfa2dd9
Avoid crashing on corrupted notifications.

If a notification content view has an @id/icon or
@id/right_icon, we need to make sure those ImageViews
actually have a drawable inside.

Bug: 19487078
Change-Id: I4ef6c4a10926823aa8680628097ed150d9e717d4
packages/SystemUI/src/com/android/systemui/statusbar/NotificationTemplateViewWrapper.java