Fixing robo test compilation

Change-Id: I1b1192f4cbf1ea1916f2ec4cd607743b3483250a
This commit is contained in:
Sunny Goyal
2020-10-23 10:35:27 -07:00
parent ff8febabb0
commit 84acb18dc2

View File

@@ -144,7 +144,7 @@ public class TaskViewSimulatorTest {
LauncherActivityInterface.INSTANCE);
tvs.setDp(mDeviceProfile);
int launcherRotation = DisplayController.INSTANCE.get(mContext).getInfo().rotation;
int launcherRotation = DisplayController.getDefaultDisplay(mContext).getInfo().rotation;
if (mAppRotation < 0) {
mAppRotation = launcherRotation;
}