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

Commit 319721c1 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

SetupWizard: Make sure its not emulator device

parent e17092d7
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();