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

Commit 2a1422a1 authored by Lucas Lin's avatar Lucas Lin Committed by Automerger Merge Worker
Browse files

Merge "Skip sending VpnManager events for Settings VPNs" am: 0b990180 am: e49b2e56

parents c74f9a05 e49b2e56
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3341,7 +3341,7 @@ public class Vpn {

                // TODO(b/230548427): Remove SDK check once VPN related stuff are
                //  decoupled from ConnectivityServiceTest.
                if (SdkLevel.isAtLeastT() && category != null) {
                if (SdkLevel.isAtLeastT() && category != null && isVpnApp(mPackage)) {
                    sendEventToVpnManagerApp(category, errorClass, errorCode,
                            getPackage(), mSessionKey, makeVpnProfileStateLocked(),
                            mActiveNetwork,