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

Commit f3c4457a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "SystemPreparer: remove support for FDE devices" am: 98f0a11a am:...

Merge "SystemPreparer: remove support for FDE devices" am: 98f0a11a am: 7e0aeb84 am: 0ae29439 am: 95c68c60

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1889876

Change-Id: Id91f2a2da0f16db1a3040817cf6645543b50830d
parents 95ee224b 95c68c60
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;
        }