mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Unlock the phone before each test
We were trying to do so from the test config, but this didn't work Change-Id: I098eb392c76572bc43443adac130fa8700b49bde
This commit is contained in:
@@ -163,6 +163,8 @@ public abstract class AbstractLauncherUiTest {
|
||||
public void setUp() throws Exception {
|
||||
mTargetContext = InstrumentationRegistry.getTargetContext();
|
||||
mTargetPackage = mTargetContext.getPackageName();
|
||||
// Unlock the phone
|
||||
mDevice.executeShellCommand("input keyevent 82");
|
||||
}
|
||||
|
||||
@After
|
||||
|
||||
Reference in New Issue
Block a user