Skip to content

Commit

Permalink
Reduce visibility of functions in ReactHostImpl (facebook#39640)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#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 facebook-github-bot committed Sep 26, 2023
1 parent 8c779cd commit 35a6630
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 35a6630

Please sign in to comment.