commit | 5a8810691ac0cb0929efc465ba116b2c60b04437 | [log] [tgz] |
---|---|---|
author | Josh Tsuji <tsuji@google.com> | Wed May 15 18:27:10 2024 -0400 |
committer | Josh Tsuji <tsuji@google.com> | Thu May 16 04:22:19 2024 +0000 |
tree | 1b68c3f2ffc36673c6d85e04d793a0323212bacf | |
parent | b310a0e0a112039aae0f89cac140a531080dd681 [diff] |
Make FlingInfos unique. Under test, velocities are often identical, which causes StateFlows not to emit duplicate values. Other sources of uniqueness such as SystemUptimeMillis also don't behave as expected under test, so this seems as good a way as any to address that. Test: atest KeyguardTests Flag: N/A Bug: 278086361 Change-Id: I0d67470d894928e47e6489d9101e788c1eab51d5