diff options
author | Joe Onorato <joeo@android.com> | 2010-06-02 22:39:41 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-06-02 22:39:41 -0700 |
commit | a67699cad46365b11c0b4587577f6b5406790796 (patch) | |
tree | 4bda0baeda8365d0120f93ee8f9c57a0ce18e630 /tests | |
parent | 9eda884c7a4d628995d863aff1e6b5f20d5f73b3 (diff) | |
parent | 087cc1fa2d1532e88ef86360df963f15dfb516f4 (diff) | |
download | frameworks_base-a67699cad46365b11c0b4587577f6b5406790796.zip frameworks_base-a67699cad46365b11c0b4587577f6b5406790796.tar.gz frameworks_base-a67699cad46365b11c0b4587577f6b5406790796.tar.bz2 |
am 087cc1fa: am 871bdb98: Handle bad icon resources.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java index 40026fa..c30ace3 100644 --- a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java +++ b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java @@ -122,6 +122,16 @@ public class NotificationTestList extends TestActivity } }, + new Test("Bad Icon") { + public void run() { + mNM.notify(1, new Notification(NotificationTestList.this, + R.layout.chrono_notification, /* not a drawable! */ + null, System.currentTimeMillis()-(1000*60*60*24), + "(453) 123-2328", + "", null)); + } + }, + new Test("Bad resource #2") { public void run() { |