summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar
diff options
context:
space:
mode:
authorJason Chen <jasonchen@google.com>2010-10-08 16:22:53 -0700
committerJason Chen <jasonchen@google.com>2010-10-08 16:22:53 -0700
commit39b4867d483cc9aba36b26a81074d9f606661671 (patch)
tree9929b2985dc6138d91e7d06afc88b1dd4056253d /tests/StatusBar
parent1cb9465372f9439afbe9d5400a16328e6d9bc8da (diff)
downloadframeworks_base-39b4867d483cc9aba36b26a81074d9f606661671.zip
frameworks_base-39b4867d483cc9aba36b26a81074d9f606661671.tar.gz
frameworks_base-39b4867d483cc9aba36b26a81074d9f606661671.tar.bz2
Revert "Merge "Allow notifications to not specify a contentIntent.""
This reverts commit 8885321046622d6a8c0a4214af98dc27eecd48a0, reversing changes made to 61b8aaadd742f0be708cd37971d2c9e822bf778a.
Diffstat (limited to 'tests/StatusBar')
-rw-r--r--tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java
index 9c267d6..e30cf4a 100644
--- a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java
+++ b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java
@@ -86,18 +86,6 @@ public class NotificationTestList extends TestActivity
}
},
- new Test("custom intent on text view") {
- public void run() {
- Notification n = new Notification(R.drawable.icon1, null,
- mActivityCreateTime);
- n.setLatestEventInfo(NotificationTestList.this, "Persistent #1",
- "This is a notification!!!", null);
- n.contentView.setOnClickPendingIntent(com.android.internal.R.id.text,
- makeIntent2());
- mNM.notify(1, n);
- }
- },
-
new Test("Ticker 1 line") {
public void run() {
Notification n = new Notification(R.drawable.icon1, "tick tick tick",
@@ -788,12 +776,6 @@ public class NotificationTestList extends TestActivity
return PendingIntent.getActivity(this, 0, intent, 0);
}
- private PendingIntent makeIntent2() {
- Intent intent = new Intent(this, StatusBarTest.class);
- return PendingIntent.getActivity(this, 0, intent, 0);
- }
-
-
class StateStress extends Test {
StateStress(String name, int pause, int iterations, Runnable[] tasks) {
super(name);