Merge "Delay test for APF activation after screen-off" into main

This commit is contained in:
Treehugger Robot 2025-03-20 01:15:04 -07:00 • committed by Gerrit Code Review
commit c45f7675df

View file

@ -70,6 +70,9 @@ class ApfTestBase(multi_devices_test_base.MultiDevicesTestBase):
# Enable doze mode to activate APF.
adb_utils.set_doze_mode(self.clientDevice, True)
# wait for APF to become active.
time.sleep(3)
def teardown_class(self):
adb_utils.set_doze_mode(self.clientDevice, False)
tether_utils.cleanup_tethering_for_upstream_type(