From f1de77939bdb0f2ae88f6aa77a572c451bfc333d Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Wed, 2 Oct 2024 16:27:01 -0700 Subject: [PATCH] buildToolsVersion to 34 --- .../reactnativeonnxruntimemodule/MainApplication.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/js/react_native/e2e/android/app/src/main/java/com/example/reactnativeonnxruntimemodule/MainApplication.java b/js/react_native/e2e/android/app/src/main/java/com/example/reactnativeonnxruntimemodule/MainApplication.java index 2d0ae5ba8f31a..f5585304d6fcf 100644 --- a/js/react_native/e2e/android/app/src/main/java/com/example/reactnativeonnxruntimemodule/MainApplication.java +++ b/js/react_native/e2e/android/app/src/main/java/com/example/reactnativeonnxruntimemodule/MainApplication.java @@ -51,14 +51,6 @@ public void onCreate() { initializeFlipper( this, getReactNativeHost().getReactInstanceManager()); // Remove this line if you don't want Flipper enabled } - @Override - public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) { - if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) { - return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED); // or RECEIVER_NOT_EXPORTED - } else { - return super.registerReceiver(receiver, filter); - } - } public static Context getAppContext() { return appContext; } /**