mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Revert "Cleanup code related to ag/11035582"
This reverts commit a2a1f86dff.
Reason for revert: b/154068414
Change-Id: I1db0018fa97d5a5380651cf7d04a05a0abd62857
This commit is contained in:
@@ -162,6 +162,7 @@ public abstract class AbstractLauncherUiTest {
|
||||
mLauncher.enableDebugTracing();
|
||||
// Avoid double-reporting of Launcher crashes.
|
||||
mLauncher.setOnLauncherCrashed(() -> mLauncherPid = 0);
|
||||
mLauncher.disableSensorRotation();
|
||||
}
|
||||
|
||||
protected final LauncherActivityRule mActivityMonitor = new LauncherActivityRule();
|
||||
@@ -277,6 +278,7 @@ public abstract class AbstractLauncherUiTest {
|
||||
clearPackageData(mDevice.getLauncherPackageName());
|
||||
mLauncher.enableDebugTracing();
|
||||
mLauncherPid = mLauncher.getPid();
|
||||
mLauncher.disableSensorRotation();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1265,7 +1265,7 @@ public final class LauncherInstrumentation {
|
||||
TestProtocol.TEST_INFO_RESPONSE_FIELD);
|
||||
}
|
||||
|
||||
private void disableSensorRotation() {
|
||||
public void disableSensorRotation() {
|
||||
getTestInfo(TestProtocol.REQUEST_MOCK_SENSOR_ROTATION);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user