I am curious on which devices this was tested. On an Android 14 device I see the issue described in the ticket while on an Android 11 device I don't. Which would mean different framework behaviour for the back button. Which would mean that we should maybe focus (pun intended) on not using the deprecated onBackPressed method and not relying on KEYCODE_BACK anymore with Android clearly stating that intercepting back events from KeyEvent.KEYCODE_BACK is no longer supported While accepting this as a minor inconvenient for now.
Bug 1898059 Comment 8 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I am curious on which devices this was tested. On an Android 14 device I see the issue described in the ticket while on an Android 11 device I don't. Which would mean different framework behaviour for the back button. Which would mean that we should maybe focus on not using the deprecated onBackPressed method and not relying on KEYCODE_BACK anymore with Android clearly stating that intercepting back events from KeyEvent.KEYCODE_BACK is no longer supported While accepting this as a minor inconvenient for now.
I am curious on which devices this was tested. On an Android 14 device I see the issue described in the ticket while on an Android 11 device I don't. Which would mean different framework behaviour for the back button. Which would mean that we should maybe focus on not using the deprecated onBackPressed method and not relying on KEYCODE_BACK anymore with [Android clearly stating that intercepting back events from KeyEvent.KEYCODE_BACK is no longer supported](https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture) While accepting this as a minor inconvenient for now.