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

Commit 2802ec26 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Add package overlay support for carrier" into android_ui.lnx.2.1-dev

parents 3ecf8bcb 97217f66
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import android.content.pm.PackageManager.NameNotFoundException;
import android.content.res.Resources;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.os.SystemProperties;
import android.os.UserHandle;
import android.os.UserManager;
import android.support.v7.preference.Preference;
@@ -287,9 +288,9 @@ public class SimStatus extends SettingsPreferenceFragment {
            networktype = "4G";
        }

        PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId);
        if (carrierConfig != null && carrierConfig.getBoolean(
            "config_carrier_specific_network_type_display", false)) {
        String property = SystemProperties.get("persist.radio.atel.carrier");
        boolean isCarrierOneSupported = "405854".equals(property);
        if (isCarrierOneSupported) {
            if (TelephonyManager.NETWORK_TYPE_LTE == actualDataNetworkType ||
                    TelephonyManager.NETWORK_TYPE_LTE == actualVoiceNetworkType) {
                if (mTelephonyManager.isImsRegistered()) {