diff options
Diffstat (limited to 'java/com')
-rw-r--r-- | java/com/android/dialer/precall/impl/PermissionCheckAction.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/android/dialer/precall/impl/PermissionCheckAction.java b/java/com/android/dialer/precall/impl/PermissionCheckAction.java index b57b37a6f..85e9ceb9c 100644 --- a/java/com/android/dialer/precall/impl/PermissionCheckAction.java +++ b/java/com/android/dialer/precall/impl/PermissionCheckAction.java @@ -21,14 +21,14 @@ import android.widget.Toast; import com.android.dialer.callintent.CallIntentBuilder; import com.android.dialer.precall.PreCallAction; import com.android.dialer.precall.PreCallCoordinator; -import com.android.dialer.util.PermissionsUtil; +import com.android.dialer.telecom.TelecomUtil; /** Aborts call and show a toast if phone permissions are missing. */ public class PermissionCheckAction implements PreCallAction { @Override public boolean requiresUi(Context context, CallIntentBuilder builder) { - return !PermissionsUtil.hasPhonePermissions(context); + return !TelecomUtil.hasCallPhonePermission(context); } @Override |