Reset tooltip preference to fix flaky test.

Fixes: 187725725
Test: run test in studio a few times, it passes instead of failing
Change-Id: I780cc09eb9b13b415f9299ab2e3661261ae2066e
This commit is contained in:
Josh Tsuji
2021-07-13 12:59:25 -04:00
parent 71f911e7e0
commit 5094d64542

View File

@@ -99,6 +99,8 @@ public class VolumeDialogImplTest extends SysuiTestCase {
Prefs.putInt(mContext,
Prefs.Key.SEEN_RINGER_GUIDANCE_COUNT,
VolumePrefs.SHOW_RINGER_TOAST_COUNT + 1);
Prefs.putBoolean(mContext, Prefs.Key.HAS_SEEN_ODI_CAPTIONS_TOOLTIP, false);
}
private State createShellState() {