From 973253af8a47d9ebd137f554054e7a95f8ef2e45 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Tue, 17 Dec 2019 13:19:27 -0800 Subject: [PATCH] Remove NativeRunnableDeprecated (#27529) Summary: The class was deprecated in 2016 and is blocking an upgrade to fbjni which no longer supports the `Countable` class this extends. Changelog: [Android] [Removed] - NativeRunnableDeprecated Pull Request resolved: https://github.com/facebook/react-native/pull/27529 Test Plan: No references to it in this codebase. Reviewed By: mdvacca Differential Revision: D19087074 Pulled By: passy fbshipit-source-id: a4ee73be7c13cedf1d86d2643f8e788ad4a2e31f --- .../queue/NativeRunnableDeprecated.java | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 ReactAndroid/src/main/java/com/facebook/react/bridge/queue/NativeRunnableDeprecated.java diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/queue/NativeRunnableDeprecated.java b/ReactAndroid/src/main/java/com/facebook/react/bridge/queue/NativeRunnableDeprecated.java deleted file mode 100644 index 8c9e852d2af5f7..00000000000000 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/queue/NativeRunnableDeprecated.java +++ /dev/null @@ -1,21 +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.bridge.queue; - -import com.facebook.jni.Countable; -import com.facebook.proguard.annotations.DoNotStrip; - -/** A Runnable that has a native run implementation. */ -@DoNotStrip -public class NativeRunnableDeprecated extends Countable implements Runnable { - - @DoNotStrip - private NativeRunnableDeprecated() {} - - public native void run(); -}