Merge "Cleanup code related to ag/11035582" into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8f3c7c23d6
@@ -162,7 +162,6 @@ public abstract class AbstractLauncherUiTest {
|
||||
mLauncher.enableDebugTracing();
|
||||
// Avoid double-reporting of Launcher crashes.
|
||||
mLauncher.setOnLauncherCrashed(() -> mLauncherPid = 0);
|
||||
mLauncher.disableSensorRotation();
|
||||
}
|
||||
|
||||
protected final LauncherActivityRule mActivityMonitor = new LauncherActivityRule();
|
||||
@@ -278,7 +277,6 @@ 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);
|
||||
}
|
||||
|
||||
public void disableSensorRotation() {
|
||||
private void disableSensorRotation() {
|
||||
getTestInfo(TestProtocol.REQUEST_MOCK_SENSOR_ROTATION);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user