Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Prevent Deep Link Activation on Orientation Change #1836

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

HamzaIsrar12
Copy link
Contributor

Description

LEARNER-9659

Previously, the deep link was inadvertently activated when the fragment was recreated during an orientation change. This occurred because the screen name value was unnecessarily re-fetched from the fragment's arguments. To resolve this issue, we now set the argument to null, ensuring that deep link activation no longer occurs during orientation changes.

Previously, the deep link was inadvertently activated when the
fragment was recreated during an orientation change. This occurred
because the screen name value was unnecessarily re-fetched from the
fragment's arguments. To resolve this issue, we now set the argument
to null, ensuring that deep link activation no longer occurs during
orientation changes.

Fixes: LEARNER-9659
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (c4e2dba) 1.07% compared to head (e09ce0a) 1.07%.

Additional details and impacted files
@@             Coverage Diff             @@
##             master   #1836      +/-   ##
===========================================
- Coverage      1.07%   1.07%   -0.01%     
  Complexity      137     137              
===========================================
  Files           538     538              
  Lines         26300   26302       +2     
  Branches       3384    3387       +3     
===========================================
  Hits            284     284              
- Misses        25989   25991       +2     
  Partials         27      27              
Files Coverage Δ
.../java/org/edx/mobile/view/CourseHomeTabFragment.kt 0.00% <0.00%> (ø)
...org/edx/mobile/view/CourseTabsDashboardFragment.kt 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This commit disables the 'android_screenshot' job as the Instrument
Test cases are currently failing. The job will remain inactive until
the issues with the test cases are resolved.

To re-enable the job:
- Remove the 'if: false' condition from the 'android_screenshot' job
- Ensure that the Instrument Test cases are functioning as expected

Fixes: LEARNER-9659
@HamzaIsrar12 HamzaIsrar12 merged commit 2f85d15 into master Nov 8, 2023
4 checks passed
@HamzaIsrar12 HamzaIsrar12 deleted the hamza/LEARNER-9659 branch November 8, 2023 06:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants