mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Reduce visibility of functions in ReactHostImpl (#39640)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
committed by
Luna Wei
parent
69e0c2d916
commit
a57a8b7782
+2
-1
@@ -597,7 +597,8 @@ public class ReactHostImpl implements ReactHost {
|
||||
return null;
|
||||
}
|
||||
|
||||
public DefaultHardwareBackBtnHandler getDefaultBackButtonHandler() {
|
||||
/* package */
|
||||
DefaultHardwareBackBtnHandler getDefaultBackButtonHandler() {
|
||||
return () -> {
|
||||
UiThreadUtil.assertOnUiThread();
|
||||
if (mDefaultHardwareBackBtnHandler != null) {
|
||||
|
||||
Reference in New Issue
Block a user