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

Commit 0578a9be authored by Yashdev Singh's avatar Yashdev Singh Committed by Ricardo Cerqueira
Browse files

Telephony: Implementation of DATA+MMS

- New base id for DdsScheduler async channel events

Change-Id: Ib5c4cae7b8471a8d0d2230354eb7cf2ea315ee67
parent aa418130
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -63,5 +63,6 @@ public class Protocol {
    public static final int BASE_NETWORK_AGENT                                      = 0x00081000;
    public static final int BASE_NETWORK_MONITOR                                    = 0x00082000;
    public static final int BASE_NETWORK_FACTORY                                    = 0x00083000;
    public static final int BASE_DDS_SCHEDULER                                      = 0x00084000;
    //TODO: define all used protocols
}
+13 −0
Original line number Diff line number Diff line
@@ -1090,5 +1090,18 @@ public class SubscriptionManager implements BaseColumns {
         // ignore it
        }
    }

    public static long getOnDemandDataSubId() {
        try {
            ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub"));
            if (iSub != null) {
                return iSub.getOnDemandDataSubId();
            } else {
                return INVALID_SUB_ID;
            }
        } catch (RemoteException ex) {
            return INVALID_SUB_ID;
        }
    }
}
+2 −0
Original line number Diff line number Diff line
@@ -167,4 +167,6 @@ interface ISub {
    int setSubState(long subId, int subStatus);

    int getSubState(long subId);

    long getOnDemandDataSubId();
}