diff options
author | Daniel Sandler <dsandler@google.com> | 2010-12-17 14:56:18 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@google.com> | 2011-02-07 11:41:27 -0500 |
commit | 982cbf1cbc302eb1ee4ab10076533281c6a947c7 (patch) | |
tree | 9f81375f0d5dba59ad5750d3184d13547c124baf /tests/StatusBar | |
parent | 1ee31175eca2fb5d6a95cb1aa4a9dbf66a5212cb (diff) | |
download | frameworks_base-982cbf1cbc302eb1ee4ab10076533281c6a947c7.zip frameworks_base-982cbf1cbc302eb1ee4ab10076533281c6a947c7.tar.gz frameworks_base-982cbf1cbc302eb1ee4ab10076533281c6a947c7.tar.bz2 |
Fix the status bar test app.
Change-Id: Ib7d047a5ed21393ea9cbcdc343cb0cfbb7c62ff7
Diffstat (limited to 'tests/StatusBar')
-rw-r--r-- | tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java index 13665e1..f2c234b 100644 --- a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java +++ b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java @@ -138,13 +138,10 @@ public class StatusBarTest extends TestActivity }, new Test("Priority notification") { public void run() { - Notification not = new Notification(StatusBarTest.this, + Notification not = new Notification( R.drawable.stat_sys_phone, "Incoming call from: Imperious Leader", - System.currentTimeMillis()-(1000*60*60*24), - "Imperious Leader", - "(888) 555-5038", - null + System.currentTimeMillis()-(1000*60*60*24) ); not.flags |= Notification.FLAG_HIGH_PRIORITY; Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class); @@ -241,12 +238,10 @@ public class StatusBarTest extends TestActivity mHandler.postDelayed(new Runnable() { public void run() { mNotificationManager.notify(1, - new Notification(StatusBarTest.this, + new Notification( R.drawable.ic_statusbar_missedcall, "tick tick tick", - System.currentTimeMillis()-(1000*60*60*24), - "(453) 123-2328", - "", null + System.currentTimeMillis()-(1000*60*60*24) )); } }, 3000); |