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

Commit 62b6a1d0 authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Return "" not "null"" am: eebbd2b6 am: edaf4401

am: ec098703

Change-Id: I99f6eadac7e431a335ef620a0d953a2ab4e3fb8f
parents e7c3a5b7 ec098703
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1226,7 +1226,8 @@ public class Build {
     * null (if, for instance, the radio is not currently on).
     */
    public static String getRadioVersion() {
        return SystemProperties.get(TelephonyProperties.PROPERTY_BASEBAND_VERSION, null);
        String propVal = SystemProperties.get(TelephonyProperties.PROPERTY_BASEBAND_VERSION);
        return TextUtils.isEmpty(propVal) ? null : propVal;
    }

    private static String getString(String property) {