Use IPv4v6 as default protocol when APN setting is not available

Use IPv4v6 for default protocol and IPv4 for default roaming protocol
when APN setting is not available.

Fix: 258636082
Test: atest DataProfileTest
Change-Id: Ic61fa42f99750e6e48ea1cd08f058af3fd67c551
This commit is contained in:
Jack Yu
2022-11-29 16:17:02 -08:00
parent 23f5fbe942
commit 1ec4942f8c

View File

@@ -147,7 +147,7 @@ public final class DataProfile implements Parcelable {
if (mApnSetting != null) { if (mApnSetting != null) {
return mApnSetting.getProtocol(); return mApnSetting.getProtocol();
} }
return ApnSetting.PROTOCOL_IP; return ApnSetting.PROTOCOL_IPV4V6;
} }
/** /**