Skip to content

Commit

Permalink
Reduce visibility of functions in ReactHostImpl (#39640)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #39640

changelog: [internal] internal

Reducing visibility from public to package only for `ReactHostImpl.getDefaultHardwareBackBtnHandler()` since it's only used within package

Reviewed By: mdvacca

Differential Revision: D49612859

fbshipit-source-id: 3c40888da732f33dc046d9363b08119e707f4ea4
  • Loading branch information
arushikesarwani94 authored and Luna Wei committed Sep 27, 2023
1 parent 69e0c2d commit a57a8b7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,8 @@ <T extends NativeModule> T getNativeModule(Class<T> nativeModuleInterface) {
return null;
}

public DefaultHardwareBackBtnHandler getDefaultBackButtonHandler() {
/* package */
DefaultHardwareBackBtnHandler getDefaultBackButtonHandler() {
return () -> {
UiThreadUtil.assertOnUiThread();
if (mDefaultHardwareBackBtnHandler != null) {
Expand Down

0 comments on commit a57a8b7

Please sign in to comment.