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

Commit f7ec7caa authored by Meng Wang's avatar Meng Wang Committed by Gerrit Code Review
Browse files

Merge "Add hidden constant IS_USER to TelephonyUtils"

parents 6decf69d bce69415
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;