Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixed by adding setCancelable(false) #343

Merged
merged 1 commit into from
Mar 29, 2022
Merged

Conversation

RemiMabsout
Copy link
Contributor

Add the issue linked to this PR
close #334

Template 2 [Bug]

Bug

Cause:

The AlertDialog Builder was lacking the .setCancelable(false) statement to disable closing the alert by touching outside it.

Reproduce

-Create a new Activity using CropImageActivity as explained in the documentation.
-Launch the Dialog with showImageSourceDialog.
-Tap outside the screen.
-AlertDialog closed.

How the bug was solved:

I added the statement .setCancelable(false) to disable closing the AlertDialog.

@RemiMabsout RemiMabsout requested a review from a team as a code owner March 29, 2022 17:03
@Canato Canato merged commit 697c0e6 into CanHub:main Mar 29, 2022
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.

[BUG] - AlertDialog can always be cancelled, which leads to a black CropActivity
3 participants