CameraITS: Handle ROTATION_0 value for landscape.

Bug: 230081381
Change-Id: I32ad4a89a0d7ffe351f0fb7bd874a64c8c3f1db5
diff --git a/apps/CameraITS/tests/its_base_test.py b/apps/CameraITS/tests/its_base_test.py
index ae4958ec..0240682 100644
--- a/apps/CameraITS/tests/its_base_test.py
+++ b/apps/CameraITS/tests/its_base_test.py
@@ -16,13 +16,13 @@
 import logging
 import time
 
+import its_session_utils
+import lighting_control_utils
 from mobly import asserts
 from mobly import base_test
 from mobly import utils
 from mobly.controllers import android_device
 
-import its_session_utils
-import lighting_control_utils
 
 ADAPTIVE_BRIGHTNESS_OFF = '0'
 TABLET_CMD_DELAY_SEC = 0.5  # found empirically
@@ -186,13 +186,15 @@
         # For some tablets the values are in constant forms such as ROTATION_90
         if 'ROTATION_90' in landscape_val:
           landscape_val = '1'
+        elif 'ROTATION_0' in landscape_val:
+          landscape_val = '0'
         logging.debug('Changing the orientation to landscape mode.')
         self.tablet.adb.shell(['settings', 'put', 'system', 'user_rotation',
                                landscape_val])
         break
-    logging.debug(
-        'Reported tablet orientation is: %d',
-        int(self.tablet.adb.shell('settings get system user_rotation')))
+    logging.debug('Reported tablet orientation is: %d',
+                  int(self.tablet.adb.shell(
+                      'settings get system user_rotation')))
 
   def parse_hidden_camera_id(self):
     """Parse the string of camera ID into an array.