Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c3b1a86 authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Add notification type constants.

Change-Id: I3bafac72744d0e77436324db5aafec965ca2cd45
parent e17a7f9e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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
            + " \""