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

Commit 040bbc93 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Merge branch '7008-q-emulator_crash' into 'v1-q'

SetupWizard: Make sure its not emulator device

See merge request !51
parents e17092d7 319721c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ public class SetupWizardApp extends Application {
        SetupWizardUtils.setMobileDataEnabled(this, false);
        mHandler.postDelayed(mRadioTimeoutRunnable, SetupWizardApp.RADIO_READY_TIMEOUT);
        // If the bootloader is locked, and OEM unlocking is allowed, turn it off
        if (SetupWizardUtils.isOwner()
        if (!Build.IS_EMULATOR && SetupWizardUtils.isOwner()
                && !SetupWizardUtils.isBootloaderUnlocked(this)
                && SetupWizardUtils.isOemunlockAllowed(this)) {
            String manufacturer = Build.MANUFACTURER.toLowerCase();