summaryrefslogtreecommitdiffstats
path: root/src/java/com/android/internal/telephony/gsm
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2012-12-21 10:14:55 +0100
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-12-24 00:07:42 -0800
commit2c3b1a8628776dffeeb2129d0d7c330dd56b2ecb (patch)
treebcd6ee399906e0eac1f9cef27649432e91060d2c /src/java/com/android/internal/telephony/gsm
parente17a7f9edd281c55dcc7d680c10a4e73da2a6515 (diff)
downloadframeworks_opt_telephony-2c3b1a8628776dffeeb2129d0d7c330dd56b2ecb.zip
frameworks_opt_telephony-2c3b1a8628776dffeeb2129d0d7c330dd56b2ecb.tar.gz
frameworks_opt_telephony-2c3b1a8628776dffeeb2129d0d7c330dd56b2ecb.tar.bz2
Add notification type constants.
Change-Id: I3bafac72744d0e77436324db5aafec965ca2cd45
Diffstat (limited to 'src/java/com/android/internal/telephony/gsm')
-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 e68655e..3175e06 100644
--- a/src/java/com/android/internal/telephony/gsm/SuppServiceNotification.java
+++ b/src/java/com/android/internal/telephony/gsm/SuppServiceNotification.java
@@ -35,6 +35,9 @@ public class SuppServiceNotification {
/** TS 27.007 7.17 "number" (MT only) */
public String number;
+ 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;
@@ -60,7 +63,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
+ " \""