summaryrefslogtreecommitdiff
path: root/telephony/common/com
diff options
context:
space:
mode:
authorMalcolm Chen <refuhoo@google.com>2020-01-28 11:46:34 -0800
committerMalcolm Chen <refuhoo@google.com>2020-01-28 11:58:23 -0800
commitb30b3ba2323fdaeb8ce57f4701cdcd0cdfef7557 (patch)
treedb4fe5364e92ea51f687a70d4e410f66994f9fef /telephony/common/com
parent1ac48fd8d67dc7ca67145b8adc281e57b937ddf2 (diff)
Remove usage of android.os.Build.IS_USER
Bug: 140908357 Test: build Change-Id: 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 "****";
}