commit | 84acb18dc2be57c527ea2d076bb548bfbe427170 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Fri Oct 23 10:35:27 2020 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Fri Oct 23 10:35:35 2020 -0700 |
tree | 2ead7647dc9d9fbd5f6a6f42143a7a4b8a9e6add | |
parent | ff8febabb039a3c27ee068f85119860a048b917c [diff] |
Fixing robo test compilation Change-Id: I1b1192f4cbf1ea1916f2ec4cd607743b3483250a
diff --git a/quickstep/robolectric_tests/src/com/android/quickstep/util/TaskViewSimulatorTest.java b/quickstep/robolectric_tests/src/com/android/quickstep/util/TaskViewSimulatorTest.java index 5491daa..6c88e55 100644 --- a/quickstep/robolectric_tests/src/com/android/quickstep/util/TaskViewSimulatorTest.java +++ b/quickstep/robolectric_tests/src/com/android/quickstep/util/TaskViewSimulatorTest.java
@@ -144,7 +144,7 @@ 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; }