diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactFragment.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactFragment.java index f6c75784e85fa3..f3fbe055bf052d 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactFragment.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactFragment.java @@ -7,10 +7,8 @@ package com.facebook.react; -import android.annotation.TargetApi; import android.app.Activity; import android.content.Intent; -import android.os.Build; import android.os.Bundle; import android.view.KeyEvent; import android.view.LayoutInflater; @@ -161,13 +159,11 @@ public int checkPermission(String permission, int pid, int uid) { return getActivity().checkPermission(permission, pid, uid); } - @TargetApi(Build.VERSION_CODES.M) @Override public int checkSelfPermission(String permission) { return getActivity().checkSelfPermission(permission); } - @TargetApi(Build.VERSION_CODES.M) @Override public void requestPermissions( String[] permissions, int requestCode, PermissionListener listener) {