Skip to content

Commit

Permalink
Remove usage of Android API <23 in ReactActivityDelegate (#39663)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #39663

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

Reviewed By: NickGerleman

Differential Revision: D48545501

fbshipit-source-id: ebd91d7e5aa727dcf13f7a488b8438a0eb5c9016
  • Loading branch information
mdvacca committed Sep 26, 2023
1 parent 8df70fd commit 7a7ee6e
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 7a7ee6e

Please sign in to comment.