diff options
| -rw-r--r-- | src/java/net/scintill/ril_ofono/DatacallModule.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/net/scintill/ril_ofono/DatacallModule.java b/src/java/net/scintill/ril_ofono/DatacallModule.java index ebab380..6506a7a 100644 --- a/src/java/net/scintill/ril_ofono/DatacallModule.java +++ b/src/java/net/scintill/ril_ofono/DatacallModule.java @@ -182,12 +182,13 @@ import static net.scintill.ril_ofono.RilOfono.setProperty; throw new CommandException(OP_NOT_ALLOWED_BEFORE_REG_NW); } } else { - ctxPath = findContextPathByPropertyValue("AccessPointName", "automatic"); // TODO use Name instead? it's not available for some reason + ctxPath = findContextPathByPropertyValue("Type", "internet"); if (ctxPath == null) { Rlog.w(TAG, "no connection context available in setupDataCall(). not registered?"); throw new CommandException(OP_NOT_ALLOWED_BEFORE_REG_NW); } ctx = RilOfono.sInstance.getOfonoInterface(ConnectionContext.class, ctxPath); + // TODO figure out what to do with APN stuff on LTE, since I think we are attached regardless of APN config // don't modify the context, just return it so the caller can query/watch its configuration } // TODO This should probably be more automated and generalized. Any time we fetch all |
