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

Commit 98f0a11a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "SystemPreparer: remove support for FDE devices"

parents 9220245e de6e672d
Loading
Loading
Loading
Loading
+0 −11
Original line number Original line Diff line number Diff line
@@ -207,17 +207,6 @@ public class SystemPreparer extends ExternalResource {
            default:
            default:
                device.executeShellCommand("stop");
                device.executeShellCommand("stop");
                device.executeShellCommand("start");
                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();
                device.waitForDeviceAvailable();
                break;
                break;
        }
        }