SetupWizardActivity: better documentation
This commit is contained in:
parent
7ca33edd26
commit
18012b8c64
|
@ -115,8 +115,9 @@ public class SetupWizardActivity extends AppCompatActivity {
|
||||||
private void setupProfileCb(Boolean result) {
|
private void setupProfileCb(Boolean result) {
|
||||||
if (result) {
|
if (result) {
|
||||||
if (Utility.isWorkProfileAvailable(this)) {
|
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
|
// There is no need for more action
|
||||||
finishWithResult(true);
|
finishWithResult(true);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue