Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2bb4c851 authored by Jizheng Chu's avatar Jizheng Chu
Browse files

Fix type difference between host timezone and device timezone in gd device setup

Bug: 226999429
Change-Id: I0db31999ee4414f83cf91ccfa1e642c70744bb3b
Test: gd/cert/run
Tag: #refactor
parent 4df50dd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -653,7 +653,7 @@ class GdAndroidDevice(GdDeviceBase):
            self.adb.shell("setprop persist.sys.timezone %s" % target_timezone)
            self.reboot()
            self.adb.remount()
            device_tz = self.adb.shell("date +%z")
            device_tz = self.adb.shell("date +%z").decode(UTF_8).rstrip()
            asserts.assert_equal(
                host_tz, device_tz, "Device timezone %s still does not match host "
                "timezone %s after reset" % (device_tz, host_tz))