Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d86ccbe6 authored by Abhisek Devkota's avatar Abhisek Devkota Committed by Abhisek Devkota
Browse files

Temp: Always disable D2D since its broken atm

We are working towards a totally new SetupWizard model, so a temp fix
 here will get jettisoned when that merges

Change-Id: I01d5cde69515bb46b54e896a1005fe0ffcdb002c
parent 52a78fd2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -299,8 +299,7 @@ public class GmsAccountPage extends SetupPage {
        bundle.putBoolean(SetupWizardApp.EXTRA_FIRST_RUN, true);
        bundle.putBoolean(SetupWizardApp.EXTRA_ALLOW_SKIP, true);
        bundle.putBoolean(SetupWizardApp.EXTRA_USE_IMMERSIVE, true);
        bundle.putBoolean(SetupWizardApp.EXTRA_SUPRESS_D2D_SETUP, !mContext.getPackageManager()
                .hasSystemFeature(PackageManager.FEATURE_NFC));
        bundle.putBoolean(SetupWizardApp.EXTRA_SUPRESS_D2D_SETUP, true);

        AccountManager
                .get(mContext).addAccount(SetupWizardApp.ACCOUNT_TYPE_GMS, null, null,