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

Commit 4c268833 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "Don't advertise dun insecurely" into lmp-dev

parents bb097a7b c149ab8b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -906,8 +906,10 @@ public final class DataConnection extends StateMachine {
                        break;
                    }
                    case PhoneConstants.APN_TYPE_DUN: {
                        // TODO - secure?
                        ApnSetting securedDunApn = mDct.fetchDunApn();
                        if (securedDunApn == null || securedDunApn.equals(mApnSetting)) {
                            result.addCapability(NetworkCapabilities.NET_CAPABILITY_DUN);
                        }
                        break;
                    }
                    case PhoneConstants.APN_TYPE_FOTA: {