Do not display eSIM activation option if the device is eSIm ignored am: f537a702dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12620221 Change-Id: If39f36992de53f89ce07ef5ff1ddb597800dff58
This commit is contained in:
@@ -280,7 +280,8 @@ public class MobileNetworkUtils {
|
|||||||
String.format("showEuiccSettings: esimIgnoredDevice: %b, enabledEsimUiByDefault: "
|
String.format("showEuiccSettings: esimIgnoredDevice: %b, enabledEsimUiByDefault: "
|
||||||
+ "%b, euiccProvisioned: %b, inDeveloperMode: %b.",
|
+ "%b, euiccProvisioned: %b, inDeveloperMode: %b.",
|
||||||
esimIgnoredDevice, enabledEsimUiByDefault, euiccProvisioned, inDeveloperMode));
|
esimIgnoredDevice, enabledEsimUiByDefault, euiccProvisioned, inDeveloperMode));
|
||||||
return (inDeveloperMode || euiccProvisioned
|
return (euiccProvisioned
|
||||||
|
|| (!esimIgnoredDevice && inDeveloperMode)
|
||||||
|| (!esimIgnoredDevice && enabledEsimUiByDefault
|
|| (!esimIgnoredDevice && enabledEsimUiByDefault
|
||||||
&& isCurrentCountrySupported(context)));
|
&& isCurrentCountrySupported(context)));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user