Kotlinify LifecycleState (#43782)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43782

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: cortinico

Differential Revision: D55642371

fbshipit-source-id: d37fc2eb19635a70e60c57dc6c150aa7e713f778
This commit is contained in:
Fabrizio Cucci
2024-04-03 02:43:36 -07:00
committed by Facebook GitHub Bot
parent 7df9dbbccf
commit 0d04f5d147
@@ -5,9 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.common;
import com.facebook.infer.annotation.Nullsafe;
package com.facebook.react.common
/**
* Lifecycle state for an Activity. The state right after pause and right before resume are the
@@ -23,8 +21,7 @@ import com.facebook.infer.annotation.Nullsafe;
* <p>RESUMED is used when a ReactRootView is rendered on the screen and the user can interact with
* it.
*/
@Nullsafe(Nullsafe.Mode.LOCAL)
public enum LifecycleState {
public enum class LifecycleState {
BEFORE_CREATE,
BEFORE_RESUME,
RESUMED,