You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: facebook#46390
As React Native's minSdkVersion is not 24, clean up version checks and code that is using deprecated version from OSS
Changelog:
[Internal] - code cleanup for minSdkVersion 24
Reviewed By: philIip
Differential Revision: D62362059
fbshipit-source-id: a851d0908d4175269524f41955acca5f2da69cad
Copy file name to clipboardExpand all lines: packages/react-native-popup-menu-android/android/src/main/java/com/facebook/react/popupmenu/ReactPopupMenuContainer.kt
+23-25Lines changed: 23 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -24,34 +24,32 @@ public class ReactPopupMenuContainer(context: Context) : FrameLayout(context) {
24
24
}
25
25
26
26
publicfunshowPopupMenu() {
27
-
if (Build.VERSION.SDK_INT>=Build.VERSION_CODES.HONEYCOMB) {
28
-
val view = getChildAt(0)
29
-
val popupMenu =PopupMenu(context, view)
30
-
var menu = popupMenu.menu
31
-
val items = menuItems
32
-
if (items !=null) {
33
-
for (i in0 until items.size()) {
34
-
menu.add(Menu.NONE, Menu.NONE, i, items.getString(i))
35
-
}
27
+
val view = getChildAt(0)
28
+
val popupMenu =PopupMenu(context, view)
29
+
var menu = popupMenu.menu
30
+
val items = menuItems
31
+
if (items !=null) {
32
+
for (i in0 until items.size()) {
33
+
menu.add(Menu.NONE, Menu.NONE, i, items.getString(i))
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/I18nManagerModule.kt
0 commit comments