diff options
author | linyuh <linyuh@google.com> | 2018-06-28 20:13:52 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-28 20:14:43 -0700 |
commit | 60c1e5732085d36bdf5b49055add832222c75839 (patch) | |
tree | 4b18ade57cdb2100cbd4acec0a1d42163b3c21ef /java/com/android/dialer/precall | |
parent | e479c7d417573ac142b336c904ce0643e010f7dd (diff) |
Remove redundant @TargetApi, @RequiresApi and @SuppressWarnings
Test: Existing tests
PiperOrigin-RevId: 202589482
Change-Id: I6982e4069d30032bf46caf3c9984dfc0e7196f6f
Diffstat (limited to 'java/com/android/dialer/precall')
-rw-r--r-- | java/com/android/dialer/precall/impl/AssistedDialAction.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/java/com/android/dialer/precall/impl/AssistedDialAction.java b/java/com/android/dialer/precall/impl/AssistedDialAction.java index 40a810b5b..0e38231af 100644 --- a/java/com/android/dialer/precall/impl/AssistedDialAction.java +++ b/java/com/android/dialer/precall/impl/AssistedDialAction.java @@ -16,9 +16,7 @@ package com.android.dialer.precall.impl; -import android.annotation.TargetApi; import android.content.Context; -import android.os.Build; import android.os.Bundle; import android.telecom.PhoneAccount; import android.telephony.SubscriptionInfo; @@ -46,8 +44,6 @@ public class AssistedDialAction implements PreCallAction { return false; } - @SuppressWarnings("AndroidApiChecker") // Use of optional - @TargetApi(Build.VERSION_CODES.N) @Override public void runWithoutUi(Context context, CallIntentBuilder builder) { if (!builder.isAssistedDialAllowed()) { @@ -85,8 +81,6 @@ public class AssistedDialAction implements PreCallAction { /** * A convenience method to return the proper TelephonyManager in possible multi-sim environments. */ - @SuppressWarnings("AndroidApiChecker") // Use of createForSubscriptionId - @TargetApi(Build.VERSION_CODES.N) private TelephonyManager getAssistedDialingTelephonyManager( Context context, CallIntentBuilder builder) { |