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

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

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

am: edaf4401

Change-Id: Id4c2bf04e877664188c8fab2905601d6f431cfde
parents f7e816f6 edaf4401
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1125,7 +1125,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) {