Skip to content

Commit

Permalink
Revert ReactInstanceManager this::invokeDefaultOnBackPressed lambda (f…
Browse files Browse the repository at this point in the history
…acebook#41132)

Summary:
Pull Request resolved: facebook#41132

changelog: [internal] internal

Reviewed By: fkgozali, mdvacca

Differential Revision: D50520227

fbshipit-source-id: 707b662198d996352872207250d6ad4996c70717
  • Loading branch information
janeli-100005636499545 authored and facebook-github-bot committed Oct 21, 2023
1 parent 5ff4558 commit e651a56
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,12 @@ public static ReactInstanceManagerBuilder builder() {
mPackages.add(
new CoreModulesPackage(
this,
this::invokeDefaultOnBackPressed,
new DefaultHardwareBackBtnHandler() {
@Override
public void invokeDefaultOnBackPressed() {
ReactInstanceManager.this.invokeDefaultOnBackPressed();
}
},
lazyViewManagersEnabled,
minTimeLeftInFrameForNonBatchedOperationMs));
if (mUseDeveloperSupport) {
Expand Down

0 comments on commit e651a56

Please sign in to comment.