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

[Android] Implement quit Application #7633

Merged
merged 3 commits into from
Jun 2, 2022
Merged

[Android] Implement quit Application #7633

merged 3 commits into from
Jun 2, 2022

Conversation

jsuarezruiz
Copy link
Contributor

@jsuarezruiz jsuarezruiz commented May 31, 2022

Description of Change

Implement quit App on Android.

fix-7255

Issues Fixed

Fixes #7255

@jsuarezruiz jsuarezruiz added t/bug Something isn't working platform/android 🤖 labels May 31, 2022
@jsuarezruiz jsuarezruiz changed the title Implement quit App on Android [Android] Implement quit Application May 31, 2022
@jsuarezruiz jsuarezruiz added this to the 6.0.3xx-sr1 milestone May 31, 2022
@rmarinho rmarinho requested review from mattleibow and Redth May 31, 2022 15:56

if (currentActivity != null)
{
if (OperatingSystem.IsAndroidVersionAtLeast(21))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAUI only supports 21+ already, so I don't think we need an extra check here.... Even after reading the android documentation, I'm still not super clear on which finish variant is the 'best' one here, but presumably if this code came from Forms, maybe we can track down the conversation/comments/PR around choosing it to be sure?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. Have removed the version validation.

@mattleibow mattleibow merged commit 3ae0029 into main Jun 2, 2022
@mattleibow mattleibow deleted the fix-7255 branch June 2, 2022 00:11
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@samhouts samhouts added the fixed-in-6.0.400 Look for this fix in 6.0.400! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-6.0.400 Look for this fix in 6.0.400! platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] [Scenario Day] Application.Current.Quit not working
4 participants