SetupWizard: Launch gms setup in immersive mode
Change-Id: I22362ba382a07a65209da2fa76445bc60cdabdf3
This commit is contained in:
parent
8b4ab4c6f4
commit
9e6bebaabb
@ -66,6 +66,7 @@ public class GmsAccountPage extends SetupPage {
|
|||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putBoolean(SetupWizardApp.EXTRA_FIRST_RUN, true);
|
bundle.putBoolean(SetupWizardApp.EXTRA_FIRST_RUN, true);
|
||||||
bundle.putBoolean(SetupWizardApp.EXTRA_ALLOW_SKIP, true);
|
bundle.putBoolean(SetupWizardApp.EXTRA_ALLOW_SKIP, true);
|
||||||
|
bundle.putBoolean("useImmersiveMode", true);
|
||||||
AccountManager
|
AccountManager
|
||||||
.get(activity).addAccount(SetupWizardApp.ACCOUNT_TYPE_GMS, null, null,
|
.get(activity).addAccount(SetupWizardApp.ACCOUNT_TYPE_GMS, null, null,
|
||||||
bundle, activity, new AccountManagerCallback<Bundle>() {
|
bundle, activity, new AccountManagerCallback<Bundle>() {
|
||||||
|
Loading…
Reference in New Issue
Block a user