Skip to content

Bug fixed by adding setCancelable(false)#343

Merged
Canato merged 1 commit into
CanHub:mainfrom
RemiMabsout:issue-334
Mar 29, 2022
Merged

Bug fixed by adding setCancelable(false)#343
Canato merged 1 commit into
CanHub:mainfrom
RemiMabsout:issue-334

Conversation

@RemiMabsout

Copy link
Copy Markdown
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