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

Commit de6e672d authored by Eric Biggers's avatar Eric Biggers
Browse files

SystemPreparer: remove support for FDE devices

Bug: 191796797
Change-Id: I82fd9aeb5330444436f004e8971066c253ede0cf
parent 637477eb
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -207,17 +207,6 @@ public class SystemPreparer extends ExternalResource {
            default:
                device.executeShellCommand("stop");
                device.executeShellCommand("start");
                ITestDevice.RecoveryMode cachedRecoveryMode = device.getRecoveryMode();
                device.setRecoveryMode(ITestDevice.RecoveryMode.ONLINE);

                if (device.isEncryptionSupported()) {
                    if (device.isDeviceEncrypted()) {
                        LogUtil.CLog.e("Device is encrypted after userspace reboot!");
                        device.unlockDevice();
                    }
                }

                device.setRecoveryMode(cachedRecoveryMode);
                device.waitForDeviceAvailable();
                break;
        }