summaryrefslogtreecommitdiff
path: root/src-N
diff options
context:
space:
mode:
Diffstat (limited to 'src-N')
-rw-r--r--src-N/com/android/dialer/compat/BlockedNumbersSdkCompat.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src-N/com/android/dialer/compat/BlockedNumbersSdkCompat.java b/src-N/com/android/dialer/compat/BlockedNumbersSdkCompat.java
index 6c1625360..a60820732 100644
--- a/src-N/com/android/dialer/compat/BlockedNumbersSdkCompat.java
+++ b/src-N/com/android/dialer/compat/BlockedNumbersSdkCompat.java
@@ -16,7 +16,9 @@
package com.android.dialer.compat;
+import android.content.Context;
import android.net.Uri;
+import android.provider.BlockedNumberContract;
import android.provider.BlockedNumberContract.BlockedNumbers;
public class BlockedNumbersSdkCompat {
@@ -29,4 +31,7 @@ public class BlockedNumbersSdkCompat {
public static final String E164_NUMBER = BlockedNumbers.COLUMN_E164_NUMBER;
+ public static boolean canCurrentUserBlockNumbers(Context context) {
+ return BlockedNumberContract.canCurrentUserBlockNumbers(context);
+ }
}