summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/status/NotificationData.java
diff options
context:
space:
mode:
Diffstat (limited to 'services/java/com/android/server/status/NotificationData.java')
-rw-r--r--services/java/com/android/server/status/NotificationData.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/services/java/com/android/server/status/NotificationData.java b/services/java/com/android/server/status/NotificationData.java
new file mode 100644
index 000000000000..63a7d703ec03
--- /dev/null
+++ b/services/java/com/android/server/status/NotificationData.java
@@ -0,0 +1,30 @@
+package com.android.server.status;
+
+import android.app.PendingIntent;
+import android.widget.RemoteViews;
+
+public class NotificationData {
+ public String pkg;
+ public int id;
+ public CharSequence tickerText;
+
+ public long when;
+ public boolean ongoingEvent;
+ public boolean clearable;
+
+ public RemoteViews contentView;
+ public PendingIntent contentIntent;
+
+ public PendingIntent deleteIntent;
+
+ public NotificationData() {
+ }
+
+ public String toString() {
+ return "NotificationData(package=" + pkg + " tickerText=" + tickerText
+ + " ongoingEvent=" + ongoingEvent + " contentIntent=" + contentIntent
+ + " deleteIntent=" + deleteIntent
+ + " clearable=" + clearable
+ + " contentView=" + contentView + " when=" + when + ")";
+ }
+}