Fix test flake in sysui test suite.

This code creates a timer 1 second in the future, which causes code to
run that has alredy been deconstructed, leading to an instrumentation
crash.

Fixes: 290111230
Test: atp v2/android-virtual-infra/test_mapping/presubmit-large-avd
(cherry picked from commit d0e22c52ed622d0bc7f1ab1403ac4a538a1a6840)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c95cbf9cde00f4ab2e91b5b0643ea300d703622f)
Merged-In: Ibd786995cc6b8252aa5ce07d2aea5977ae2551db
Change-Id: Ibd786995cc6b8252aa5ce07d2aea5977ae2551db
1 file changed