Loading tests/utils/hostutils/src/com/android/internal/util/test/SystemPreparer.java +0 −11 Original line number Original line Diff line number Diff line Loading @@ -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; } } Loading Loading
tests/utils/hostutils/src/com/android/internal/util/test/SystemPreparer.java +0 −11 Original line number Original line Diff line number Diff line Loading @@ -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; } } Loading