diff options
author | Daniel Sandler <dsandler@android.com> | 2010-08-20 06:03:41 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-08-20 06:03:41 -0700 |
commit | 6cf5eb0606ecdc22e7c431971a0c621413564840 (patch) | |
tree | 7559af2a1a63e539932ac2d8675110efa088b18c /tests | |
parent | 3a59ddc67c6ad33c01d36338603586f90d94e71b (diff) | |
parent | 3f677b1b3e45240728de39d60441d791c0e8d3f8 (diff) | |
download | frameworks_base-6cf5eb0606ecdc22e7c431971a0c621413564840.zip frameworks_base-6cf5eb0606ecdc22e7c431971a0c621413564840.tar.gz frameworks_base-6cf5eb0606ecdc22e7c431971a0c621413564840.tar.bz2 |
am 3f677b1b: Merge "Fix periodically disappearing status icons." into gingerbread
Merge commit '3f677b1b3e45240728de39d60441d791c0e8d3f8' into gingerbread-plus-aosp
* commit '3f677b1b3e45240728de39d60441d791c0e8d3f8':
Fix periodically disappearing status icons.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java index 16b3001..37976ee 100644 --- a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java +++ b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java @@ -633,6 +633,20 @@ public class NotificationTestList extends TestActivity } }, + new Test("Ticker") { + public void run() { + Notification not = new Notification( + R.drawable.app_gmail, + "New mail from joeo@example.com, on the topic of very long ticker texts", + System.currentTimeMillis()); + not.setLatestEventInfo(NotificationTestList.this, + "A new message awaits", + "The contents are very interesting and important", + makeIntent()); + mNM.notify(1, not); + } + }, + new Test("Crash") { public void run() { |