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

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

am ba98956e: am 92a12eaf: am 1138cd35: Merge "Don\'t allow the apn to...

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

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