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

Commit 09c3c3c6 authored by Fang Yunong's avatar Fang Yunong Committed by Linux Build Service Account
Browse files

Add MBN Version For Global Pass Provisioning pack

Show mbn version under about phone

Change-Id: I9850ef87aae280212264d81069236f01c37feb31
CRs-Fixed: 1039922
parent fb557857
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3140,6 +3140,7 @@

    <!-- StorageCleaner Settings -->
    <string name="storage_menu_cleanup">垃圾清理</string>

    <string name="profiles_settings_title">情景模式</string>

    <string name="mbn_version">MBN 版本</string>
</resources>
+2 −2
Original line number Diff line number Diff line
@@ -7543,8 +7543,8 @@
    <!-- StorageCleaner Settings -->
    <string name="storage_menu_cleanup">Storage Cleanup</string>
    <!-- ProfileMgr Main -->
    <string name="profiles_settings_title">System profiles</string>
    <string name="select_sim_card">Select SIM card</string>
    <string name="mbn_version">MBN version</string>
</resources>
+6 −0
Original line number Diff line number Diff line
@@ -93,6 +93,12 @@
                android:title="@string/fcc_equipment_id"
                android:summary="@string/device_info_default"/>

        <!-- Device MBN version -->
        <Preference android:key="mbn_version"
                style="?android:preferenceInformationStyle"
                android:title="@string/mbn_version"
                android:summary="@string/device_info_default"/>

        <!-- Device Baseband version -->
        <Preference android:key="baseband_version"
                android:enabled="false"
+5 −0
Original line number Diff line number Diff line
@@ -71,6 +71,8 @@ public class DeviceInfoSettings extends SettingsPreferenceFragment implements In
    private static final String PROPERTY_EQUIPMENT_ID = "ro.ril.fccid";
    private static final String KEY_DEVICE_FEEDBACK = "device_feedback";
    private static final String KEY_SAFETY_LEGAL = "safetylegal";
    private static final String KEY_MBN_VERSION = "mbn_version";
    private static final String PROPERTY_MBN_VERSION = "persist.mbn.version";

    static final int TAPS_TO_BE_A_DEVELOPER = 7;

@@ -120,6 +122,9 @@ public class DeviceInfoSettings extends SettingsPreferenceFragment implements In
        findPreference(KEY_BUILD_NUMBER).setEnabled(true);
        findPreference(KEY_KERNEL_VERSION).setSummary(DeviceInfoUtils.customizeFormatKernelVersion(
                getResources().getBoolean(R.bool.def_hide_kernel_version_name)));
        setValueSummary(KEY_MBN_VERSION, PROPERTY_MBN_VERSION);
        removePreferenceIfPropertyMissing(getPreferenceScreen(), KEY_MBN_VERSION,
                PROPERTY_MBN_VERSION);

        if (!SELinux.isSELinuxEnabled()) {
            String status = getResources().getString(R.string.selinux_status_disabled);