on xenial help sign in
No longer pass -fullscreen when launching unity on the device
ab2537bChristopher Lee
tests/autopilot/unity8/shell/tests/__init__.py+2−3
@@ -103,9 +103,8 @@ class UnityTestCase(AutopilotTestCase):
103 width = getattr(self, 'app_width', 0)
103 width = getattr(self, 'app_width', 0)
104 height = getattr(self, 'app_height', 0)
104 height = getattr(self, 'app_height', 0)
105 scale_divisor = 1
105 scale_divisor = 1
106− if width == 0 and width == 0:
107− self.unity_geometry_args = ['-fullscreen']
106+ self.unity_geometry_args = []
108− else:
107+ if width > 0 and height > 0:
109 if self._geo_larger_than_display(width, height):
108 if self._geo_larger_than_display(width, height):
110 scale_divisor = self._get_scaled_down_geo(width, height)
109 scale_divisor = self._get_scaled_down_geo(width, height)
111 width = width / scale_divisor
110 width = width / scale_divisor