Skip to content

Commit

Permalink
Remove usage of Android API <23 in ReactActivityDelegate
Browse files Browse the repository at this point in the history
Summary:
Since minSDK was bumped to Android API 23 we are removing support of code using Android API <23 in

chnagelog: [Android][Breaking] Remove support for Android API < 23 in

Differential Revision: D48545501

fbshipit-source-id: bae2b149fa4bf63928d11919070ae420c74b6948
  • Loading branch information
mdvacca authored and facebook-github-bot committed Sep 26, 2023
1 parent 7a06e76 commit 3f3262e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@

package com.facebook.react;

import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Build;
import android.os.Bundle;
import android.view.KeyEvent;
import androidx.annotation.Nullable;
Expand Down Expand Up @@ -204,7 +202,6 @@ public void onConfigurationChanged(Configuration newConfig) {
}
}

@TargetApi(Build.VERSION_CODES.M)
public void requestPermissions(
String[] permissions, int requestCode, PermissionListener listener) {
mPermissionListener = listener;
Expand Down

0 comments on commit 3f3262e

Please sign in to comment.