aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/android/internal/telephony/gsm/SuppServiceNotification.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/android/internal/telephony/gsm/SuppServiceNotification.java')
-rw-r--r--src/java/com/android/internal/telephony/gsm/SuppServiceNotification.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/java/com/android/internal/telephony/gsm/SuppServiceNotification.java b/src/java/com/android/internal/telephony/gsm/SuppServiceNotification.java
index 8b64ade9b..7eba636e0 100644
--- a/src/java/com/android/internal/telephony/gsm/SuppServiceNotification.java
+++ b/src/java/com/android/internal/telephony/gsm/SuppServiceNotification.java
@@ -38,6 +38,9 @@ public class SuppServiceNotification {
/** List of forwarded numbers, if any */
public String[] history;
+ static public final int NOTIFICATION_TYPE_MO = 0;
+ static public final int NOTIFICATION_TYPE_MT = 1;
+
static public final int MO_CODE_UNCONDITIONAL_CF_ACTIVE = 0;
static public final int MO_CODE_SOME_CF_ACTIVE = 1;
static public final int MO_CODE_CALL_FORWARDED = 2;
@@ -64,7 +67,7 @@ public class SuppServiceNotification {
public String toString()
{
return super.toString() + " mobile"
- + (notificationType == 0 ? " originated " : " terminated ")
+ + (notificationType == NOTIFICATION_TYPE_MO ? " originated " : " terminated ")
+ " code: " + code
+ " index: " + index
+ " history: " + history