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

Commit 37819aeb authored by Yan Yan's avatar Yan Yan
Browse files

Set POLICY_VCN in VCN network offer to fix safe mode

This patch sets POLICY_VCN in its network offer. This new policy
allows VCN to win over a physical cell network and thus fixs the issue
where VCN cannot exit safe mode when there is already a phsical cell

Bug: 391977557
Test: CtsVcnTestCases(new test)
Flag: EXEMPT bugfix
Change-Id: I68bea55c96051d0c7510df3713bfc52ff3460a01
parent 9a00cdf1
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -677,6 +677,7 @@ public class Vcn extends Handler {
        return new NetworkScore.Builder()
        return new NetworkScore.Builder()
                .setLegacyInt(VCN_LEGACY_SCORE_INT)
                .setLegacyInt(VCN_LEGACY_SCORE_INT)
                .setTransportPrimary(true)
                .setTransportPrimary(true)
                .setVcn(true)
                .build();
                .build();
    }
    }