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

Commit 9ead9f02 authored by Xiangyu/Malcolm Chen's avatar Xiangyu/Malcolm Chen Committed by Gerrit Code Review
Browse files

Merge "Remove usage of android.os.Build.IS_USER"

parents 05fb4434 22ee94fc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ import android.util.Log;

import com.android.internal.telephony.HbpcdLookup.MccIdd;
import com.android.internal.telephony.HbpcdLookup.MccLookup;
import com.android.internal.telephony.util.TelephonyUtils;

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
@@ -677,7 +678,7 @@ public class SmsNumberUtils {
     */
    private static String secureHash(byte[] input) {
        // Refrain from logging user personal information in user build.
        if (android.os.Build.IS_USER) {
        if (TelephonyUtils.IS_USER) {
            return "****";
        }