summaryrefslogtreecommitdiff
path: root/telephony/common/com
diff options
context:
space:
mode:
authorMalcolm Chen <refuhoo@google.com>2020-01-28 11:46:34 -0800
committerXiangyu/Malcolm Chen <refuhoo@google.com>2020-02-07 23:05:36 +0000
commit22ee94fc1089bec37b3f171bd27f771ac13d1a2c (patch)
tree086f2081f0412717d78e7175bdf7f6e9a800df5f /telephony/common/com
parent146dde2a0cb49931b4c778637322f04d1ca4aa7c (diff)
Remove usage of android.os.Build.IS_USER
Bug: 140908357 Test: build Change-Id: I572736ff773e71e420a732aa4c56d5dceee1a454 Merged-In: I572736ff773e71e420a732aa4c56d5dceee1a454
Diffstat (limited to 'telephony/common/com')
-rw-r--r--telephony/common/com/android/internal/telephony/SmsNumberUtils.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/telephony/common/com/android/internal/telephony/SmsNumberUtils.java b/telephony/common/com/android/internal/telephony/SmsNumberUtils.java
index cd365a113189..95098e89539d 100644
--- a/telephony/common/com/android/internal/telephony/SmsNumberUtils.java
+++ b/telephony/common/com/android/internal/telephony/SmsNumberUtils.java
@@ -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 "****";
}