Correctly annotate ReactHost.onHostResume

Reviewed By: ezgicicek, ngorogiannis

Differential Revision: D46795053

fbshipit-source-id: 266c9f27e3db5cdf1e1bb0f9ce30e71b31f54e2d
This commit is contained in:
Ilya Zorin
2023-06-16 02:41:48 -07:00
committed by Facebook GitHub Bot
parent 621a7a8634
commit d097408c1c
@@ -326,7 +326,8 @@ public class ReactHost implements ReactHostInterface {
@ThreadConfined(UI)
@Override
public void onHostResume(
final @Nullable Activity activity, DefaultHardwareBackBtnHandler defaultBackButtonImpl) {
final @Nullable Activity activity,
@Nullable DefaultHardwareBackBtnHandler defaultBackButtonImpl) {
mDefaultHardwareBackBtnHandler = defaultBackButtonImpl;
onHostResume(activity);
}