SetupWizard: Fix regression on GMS account setup skip.

If a user skips through google setup, make sure we're handling
  the result correctly.

Change-Id: Ie2385dbd45c187dc1a90eab4a519094eae2caa72
TICKET: CYNGNOS-2258
This commit is contained in:
Adnan Begovic 2016-03-21 11:17:54 -07:00
parent d114a09647
commit 0410f846bb

View File

@ -124,9 +124,11 @@ public class GmsAccountPage extends SetupPage {
} else {
handleResult(requestCode, resultCode);
}
} else if (requestCode == SetupWizardApp.REQUEST_CODE_RESTORE_GMS) {
} else {
if (requestCode == SetupWizardApp.REQUEST_CODE_RESTORE_GMS) {
setHidden(true);
}
handleResult(requestCode, resultCode);
setHidden(true);
}
return true;
}