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

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

am 1138cd35: Merge "Don\'t allow the apn to decrement below 0." into mnc-dr-dev

* commit '1138cd35':
  Don't allow the apn to decrement below 0.
parents 8d1784e1 1138cd35
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -334,6 +334,10 @@ public class ApnContext {
            if (mRefCount-- == 1) {
                mDcTracker.setEnabled(mDcTracker.apnTypeToId(mApnType), false);
            }
            if (mRefCount < 0) {
                log.log("ApnContext.decRefCount went to " + mRefCount);
                mRefCount = 0;
            }
        }
    }