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

Commit 0ae29439 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: 7e0aeb84

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

Change-Id: I2fefd73660eac28489bfa05a795f758ca17df325
parents 1d5f020b 7e0aeb84
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;
        }