We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4bdab17 + 4c89b14 commit dfcb8c5Copy full SHA for dfcb8c5
telephony/java/com/android/internal/telephony/gsm/GsmDataConnectionTracker.java
@@ -361,6 +361,12 @@ public boolean isDataConnectionAsDesired() {
361
@Override
362
protected boolean isApnTypeActive(String type) {
363
// TODO: support simultaneous with List instead
364
+ if (Phone.APN_TYPE_DUN.equals(type)) {
365
+ ApnSetting dunApn = fetchDunApn();
366
+ if (dunApn != null) {
367
+ return ((mActiveApn != null) && (dunApn.toString().equals(mActiveApn.toString())));
368
+ }
369
370
return mActiveApn != null && mActiveApn.canHandleType(type);
371
}
372
0 commit comments