forked from oppia/oppia-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from super.onBackPressed() to onBackPressedDispatcher.onBackP…
…ressed() - Replaced the deprecated super.onBackPressed() method with onBackPressedDispatcher.onBackPressed() - Ensures compatibility with newer Android SDK versions - Updated necessary activities and fragments to use the new back pressed dispatcher - Verified that back navigation works correctly with the toolbar back arrow, system back button, and tablet-specific behaviors Activities and fragments corrected: - app/src/main/java/org/oppia/android/app/settings/profile/ProfileEditActivity - app/src/main/java/org/oppia/android/app/settings/profile/ProfileEditActivityPresenter - app/src/main/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityPresenter - app/src/main/java/org/oppia/android/app/walkthrough/end/WalkthroughFinalFragmentPresenter Fixes oppia#5404
- Loading branch information
Showing
4 changed files
with
4 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters