Skip to content

AC-714 - AlertDialog not canceled on activity destroyed#713

Merged
f4ww4z merged 1 commit intoopenmrs:masterfrom
AryanGanotra07:master
Mar 26, 2020
Merged

AC-714 - AlertDialog not canceled on activity destroyed#713
f4ww4z merged 1 commit intoopenmrs:masterfrom
AryanGanotra07:master

Conversation

@AryanGanotra07
Copy link
Contributor

Description of what I changed

Alert dialog was not dismissed when activity got destroyed so there was a leak. I have dismissed the alert dialog in the onDestroy method of the activity.

Issue I worked on

JIRA Issue: https://issues.openmrs.org/browse/AC-714

Checklist: I completed these to help reviewers :)

  • My pull request only contains ONE single commit
    (the number above, next to the 'Commits' tab is 1).
  • I have added tests to cover my changes. (If you refactored
    existing code that was well tested you do not have to add tests)
  • All new and existing tests passed.
  • My pull request is based on the latest changes of the master branch.

@codecov-io
Copy link

codecov-io commented Mar 22, 2020

Codecov Report

Merging #713 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #713      +/-   ##
==========================================
- Coverage   12.45%   12.45%   -0.01%     
==========================================
  Files         233      233              
  Lines       10767    10771       +4     
  Branches      998      998              
==========================================
  Hits         1341     1341              
- Misses       9345     9349       +4     
  Partials       81       81              
Impacted Files Coverage Δ
.../org/openmrs/mobile/activities/ACBaseActivity.java 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c1b121...9811e55. Read the comment docs.

@f4ww4z
Copy link
Collaborator

f4ww4z commented Mar 24, 2020

@AryanGanotra07 Can you claim this on JIRA as per https://wiki.openmrs.org/display/docs/Pull+Request+Tips

@AryanGanotra07
Copy link
Contributor Author

@AryanGanotra07 Can you claim this on JIRA as per https://wiki.openmrs.org/display/docs/Pull+Request+Tips

@f4ww4z sir, I have claimed this issue on Jira.

@VibhorChinda
Copy link
Collaborator

LGTM

@f4ww4z f4ww4z merged commit 3a70986 into openmrs:master Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants