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

Commit e27a8d04 authored by Meng Wang's avatar Meng Wang Committed by android-build-merger
Browse files

Merge "Add hidden constant IS_USER to TelephonyUtils" am: f7ec7caa

am: 83357c73

Change-Id: I3d8317cf5df71923f87752fac65ef3170e8e070e
parents 649b1efb 83357c73
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;