From 2798e7172b01b9e2dbe2937d0163f98ab29230cf Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Fri, 13 Nov 2020 09:51:34 -0800 Subject: [PATCH] remove ReactFragmentActivity (#30331) Summary: Remove ReactFragmentActivity class, which was deprecated at least since 0.58. ## Changelog [Android] [Changed] - remove ReactFragmentActivity class. Pull Request resolved: https://github.com/facebook/react-native/pull/30331 Reviewed By: makovkastar Differential Revision: D24914082 Pulled By: fkgozali fbshipit-source-id: 6833b76552a1fc19680f96501d4b8e2ff03c2c39 --- .../com/facebook/react/ReactActivityDelegate.java | 6 +++--- .../com/facebook/react/ReactFragmentActivity.java | 15 --------------- 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 ReactAndroid/src/main/java/com/facebook/react/ReactFragmentActivity.java diff --git a/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java b/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java index 7083f86bfc9cbb..c6766d138f59d4 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java +++ b/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java @@ -20,9 +20,9 @@ import com.facebook.react.modules.core.PermissionListener; /** - * Delegate class for {@link ReactActivity} and {@link ReactFragmentActivity}. You can subclass this - * to provide custom implementations for e.g. {@link #getReactNativeHost()}, if your Application - * class doesn't implement {@link ReactApplication}. + * Delegate class for {@link ReactActivity}. You can subclass this to provide custom implementations + * for e.g. {@link #getReactNativeHost()}, if your Application class doesn't implement {@link + * ReactApplication}. */ public class ReactActivityDelegate { diff --git a/ReactAndroid/src/main/java/com/facebook/react/ReactFragmentActivity.java b/ReactAndroid/src/main/java/com/facebook/react/ReactFragmentActivity.java deleted file mode 100644 index 9a0e1a1c1fea46..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/ReactFragmentActivity.java +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -package com.facebook.react; - -/** - * @deprecated ReactFragmentActivity will be removed in 0.59 release. Use {@link ReactActivity} - * instead. - */ -@Deprecated -public abstract class ReactFragmentActivity extends ReactActivity {}