From 18012b8c64d34512b1eedff9b89b38c81eff5cd1 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Fri, 26 Aug 2022 21:09:44 -0400 Subject: [PATCH] SetupWizardActivity: better documentation --- .../java/net/typeblog/shelter/ui/SetupWizardActivity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/net/typeblog/shelter/ui/SetupWizardActivity.java b/app/src/main/java/net/typeblog/shelter/ui/SetupWizardActivity.java index 595c42b..f892519 100644 --- a/app/src/main/java/net/typeblog/shelter/ui/SetupWizardActivity.java +++ b/app/src/main/java/net/typeblog/shelter/ui/SetupWizardActivity.java @@ -115,8 +115,9 @@ public class SetupWizardActivity extends AppCompatActivity { private void setupProfileCb(Boolean result) { if (result) { if (Utility.isWorkProfileAvailable(this)) { - // On pre-Oreo, and sometimes on post-Oreo - // the setup could be already finalized at this point + // The setup could be already finalized at this point + // (post-Oreo, since there is the activity intent ACTION_PROVISIONING_SUCCESSFUL, + // the work profile provisioning UI will not finish until that activity finishes.) // There is no need for more action finishWithResult(true); return;