From 60c1e5732085d36bdf5b49055add832222c75839 Mon Sep 17 00:00:00 2001 From: linyuh Date: Thu, 28 Jun 2018 20:13:52 -0700 Subject: Remove redundant @TargetApi, @RequiresApi and @SuppressWarnings Test: Existing tests PiperOrigin-RevId: 202589482 Change-Id: I6982e4069d30032bf46caf3c9984dfc0e7196f6f --- java/com/android/dialer/callintent/CallIntent.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'java/com/android/dialer/callintent') diff --git a/java/com/android/dialer/callintent/CallIntent.java b/java/com/android/dialer/callintent/CallIntent.java index ba61d5619..ef7aff672 100644 --- a/java/com/android/dialer/callintent/CallIntent.java +++ b/java/com/android/dialer/callintent/CallIntent.java @@ -198,7 +198,6 @@ public abstract class CallIntent implements Parcelable { return intent; } - @SuppressWarnings("AndroidApiChecker") // Use of Java 8 APIs. private Bundle createInCallUiIntentExtras() { Bundle bundle = new Bundle(); stringInCallUiIntentExtras().forEach(bundle::putString); @@ -207,7 +206,6 @@ public abstract class CallIntent implements Parcelable { return bundle; } - @SuppressWarnings("AndroidApiChecker") // Use of Java 8 APIs. private Bundle createPlaceCallExtras() { Bundle bundle = new Bundle(); stringPlaceCallExtras().forEach(bundle::putString); @@ -255,7 +253,6 @@ public abstract class CallIntent implements Parcelable { return 0; } - @SuppressWarnings("AndroidApiChecker") // Use of Java 8 APIs. @Override public void writeToParcel(Parcel dest, int flags) { dest.writeParcelable(number(), flags); -- cgit v1.2.3