Removed useless annotations

This commit is contained in:
Sylvain Berfini 2018-12-12 14:33:29 +01:00
parent 15053ace61
commit a1619b24f1
2 changed files with 0 additions and 4 deletions

View file

@ -19,12 +19,10 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
import android.annotation.TargetApi;
import android.content.Context; import android.content.Context;
import android.view.MotionEvent; import android.view.MotionEvent;
import android.view.ScaleGestureDetector; import android.view.ScaleGestureDetector;
@TargetApi(8)
public class CompatibilityScaleGestureDetector public class CompatibilityScaleGestureDetector
extends ScaleGestureDetector.SimpleOnScaleGestureListener { extends ScaleGestureDetector.SimpleOnScaleGestureListener {
private ScaleGestureDetector detector; private ScaleGestureDetector detector;

View file

@ -19,7 +19,6 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
import android.annotation.TargetApi;
import android.app.Notification; import android.app.Notification;
import android.app.RemoteInput; import android.app.RemoteInput;
import android.content.BroadcastReceiver; import android.content.BroadcastReceiver;
@ -159,7 +158,6 @@ public class NotificationBroadcastReceiver extends BroadcastReceiver {
LinphoneService.instance().getNotificationManager().sendNotification(notifId, replyError); LinphoneService.instance().getNotificationManager().sendNotification(notifId, replyError);
} }
@TargetApi(20)
private CharSequence getMessageText(Intent intent) { private CharSequence getMessageText(Intent intent) {
Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
if (remoteInput != null) { if (remoteInput != null) {