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

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

Reviewed By: NickGerleman

Differential Revision: D48545501

fbshipit-source-id: fa0dd69c3506e80eb1a4353d497b911b5d43c8c8
  • Loading branch information
mdvacca authored and facebook-github-bot committed Sep 27, 2023
1 parent 70fcb1e commit 3664b8a
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 3664b8a

Please sign in to comment.