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

Commit bce69415 authored by Meng Wang's avatar Meng Wang
Browse files

Add hidden constant IS_USER to TelephonyUtils

Bug: 137202333
Test: make
Change-Id: Icb973e82008713bef586e6207f3884b0517f1975
parent 285e0b0e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@ import android.content.pm.ResolveInfo;
 * This class provides various util functions
 */
public final class TelephonyUtils {
    public static boolean IS_USER = "user".equals(android.os.Build.TYPE);

    /** {@hide} */
    public static String emptyIfNull(@Nullable String str) {
        return str == null ? "" : str;