on xenial help sign in
No longer pass -fullscreen when launching unity on the device
commitab2537be0bf173ee135d093903eb4af265304cbd authorChristopher Lee <chris.lee@canonical.com> dateFri 4 Oct 2013, 10:26 (13 years ago) parentabc9e69
1 file changed+2−3
tests/autopilot/unity8/shell/tests/__init__.py+2−3
tests/autopilot/unity8/shell/tests/__init__.py+2−3
@@ -103,9 +103,8 @@ class UnityTestCase(AutopilotTestCase):
103103 width = getattr(self, 'app_width', 0)
104104 height = getattr(self, 'app_height', 0)
105105 scale_divisor = 1
106− if width == 0 and width == 0:
107− self.unity_geometry_args = ['-fullscreen']
108− else:
106+ self.unity_geometry_args = []
107+ if width > 0 and height > 0:
109108 if self._geo_larger_than_display(width, height):
110109 scale_divisor = self._get_scaled_down_geo(width, height)
111110 width = width / scale_divisor