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

Commit ede9ed9f authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android Git Automerger
Browse files

am 1eeeae59: Merge "Fix getActiveApnTypes for GsmDCT." into honeycomb-LTE

* commit '1eeeae59':
  Fix getActiveApnTypes for GsmDCT.
parents de78352c 1eeeae59
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -199,6 +199,7 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
        destroyDataConnections();
    }

    @Override
    public boolean isApnTypeActive(String type) {
        ApnContext apnContext = mApnContexts.get(type);
        if (apnContext == null) return false;
@@ -206,7 +207,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
@@ -319,7 +319,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>();