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

Commit 1b6c758c authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Fix getActiveApnTypes for GsmDCT.

Change-Id: I42e71f0cbe31289f16623de38141213f547aa13f
parent 5203a5bc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -197,6 +197,7 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
        destroyDataConnections();
    }

    @Override
    public boolean isApnTypeActive(String type) {
        ApnContext apnContext = mApnContexts.get(type);
        if (apnContext == null) return false;
@@ -204,7 +205,6 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
        return (apnContext.getDataConnection() != null);
    }


    /**
     * The only circumstances under which we report that data connectivity is not
     * possible are
@@ -317,7 +317,7 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {

    @Override
    // Return all active apn types
    public synchronized String[] getActiveApnTypes() {
    public String[] getActiveApnTypes() {
        if (DBG) log("get all active apn types");
        ArrayList<String> result = new ArrayList<String>();