Do not display eSIM activation option if the device is eSIm ignored
For the device listed as eSIM ignored device, we should always hide the eSIM activation button even in the developer mode. Bug: 168266928 Test: Manually tested Change-Id: Ide3043606de202c5903e520aa550302ff0d103d3
This commit is contained in:
@@ -280,7 +280,8 @@ public class MobileNetworkUtils {
|
||||
String.format("showEuiccSettings: esimIgnoredDevice: %b, enabledEsimUiByDefault: "
|
||||
+ "%b, euiccProvisioned: %b, inDeveloperMode: %b.",
|
||||
esimIgnoredDevice, enabledEsimUiByDefault, euiccProvisioned, inDeveloperMode));
|
||||
return (inDeveloperMode || euiccProvisioned
|
||||
return (euiccProvisioned
|
||||
|| (!esimIgnoredDevice && inDeveloperMode)
|
||||
|| (!esimIgnoredDevice && enabledEsimUiByDefault
|
||||
&& isCurrentCountrySupported(context)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user