forked from github/cordova-android
0bfbc20b84
- When pressing the back button after the app starts nothing happens. When navigating to another page, the back button js event starts to fire. - On Android versions, which support the back gesture, nothing happens - This was due to the empty `OnBackPressedCallback.handleOnBackPressed` method, which has to forward its call to `cordova.getActivity().getOnBackPressedDispatcher().onBackPressed()`, but has to disable during this call the `backCallback`. - Generated-By: GPT-5.4, GitHub Copilot Chat - warning about back button override on the right * chore: resolve methods `registerBackPressedCallback` and `unregisterBackPressedCallback`` - The code moved to inline code