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

Commit 827b7328 authored by Michael Bestas's avatar Michael Bestas Committed by Gerrit Code Review
Browse files

Revert "Settings: Show Baseband version on MSIM devices"

* Not necessary, baseband is already shown without this.

This reverts commit 3e2025a5.

Change-Id: Ibdf650be1637f8ba75d65379043795d1a52f3ded
parent c9c271d0
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -38,7 +38,6 @@ import android.preference.PreferenceScreen;
import android.provider.SearchIndexableResource;
import android.provider.Settings;
import android.telephony.CarrierConfigManager;
import android.telephony.TelephonyManager;
import android.text.TextUtils;
import android.text.format.DateFormat;
import android.util.Log;
@@ -174,9 +173,7 @@ public class DeviceInfoSettings extends SettingsPreferenceFragment implements In
                PROPERTY_EQUIPMENT_ID);

        // Remove Baseband version if wifi-only device
        if ((Utils.isWifiOnly(getActivity())
                || (TelephonyManager.getDefault().getPhoneCount() > 1))
                && !Utils.showSimCardTile(getActivity())) {
        if (Utils.isWifiOnly(getActivity())) {
            getPreferenceScreen().removePreference(findPreference(KEY_BASEBAND_VERSION));
        }

@@ -563,7 +560,7 @@ public class DeviceInfoSettings extends SettingsPreferenceFragment implements In
                    keys.add(KEY_EQUIPMENT_ID);
                }
                // Remove Baseband version if wifi-only device
                if (Utils.isWifiOnly(context) && !Utils.showSimCardTile(context)) {
                if (Utils.isWifiOnly(context)) {
                    keys.add((KEY_BASEBAND_VERSION));
                }
                // Dont show feedback option if there is no reporter.