Copy deprecation note (#4756)
Summary: [android] Copy deprecation note Ran the Kotlin migration process. They recommend we carry forwards these warnings. Pull Request resolved: https://github.com/facebook/flipper/pull/4756 Test Plan: - CI --- Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/flipper/pull/4756). * https://github.com/facebook/flipper/issues/4759 * https://github.com/facebook/flipper/issues/4758 * https://github.com/facebook/flipper/issues/4757 * __->__ https://github.com/facebook/flipper/issues/4756 * https://github.com/facebook/flipper/issues/4755 * https://github.com/facebook/flipper/issues/4754 * https://github.com/facebook/flipper/issues/4753 * https://github.com/facebook/flipper/issues/4752 * https://github.com/facebook/flipper/issues/4751 Reviewed By: ivanmisuno Differential Revision: D46068989 Pulled By: passy fbshipit-source-id: 7011939d9a3970376348c5b03e2352719aff3948
This commit is contained in:
committed by
Facebook GitHub Bot
parent
56aecba339
commit
7a23d6ab20
@@ -228,6 +228,7 @@ object FragmentTracker {
|
||||
Class.forName("android.app.FragmentManager\$FragmentLifecycleCallbacks") != null) {
|
||||
frameworkLifecycleTracker =
|
||||
object : android.app.FragmentManager.FragmentLifecycleCallbacks() {
|
||||
@Deprecated("Deprecated in Java")
|
||||
override fun onFragmentAttached(
|
||||
fm: android.app.FragmentManager?,
|
||||
f: android.app.Fragment?,
|
||||
@@ -240,6 +241,7 @@ object FragmentTracker {
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated("Deprecated in Java")
|
||||
override fun onFragmentViewCreated(
|
||||
fm: android.app.FragmentManager?,
|
||||
f: android.app.Fragment?,
|
||||
@@ -253,6 +255,7 @@ object FragmentTracker {
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated("Deprecated in Java")
|
||||
override fun onFragmentDetached(
|
||||
fm: android.app.FragmentManager?,
|
||||
f: android.app.Fragment?
|
||||
|
||||
Reference in New Issue
Block a user