summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-12-30 18:19:31 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-12-30 10:44:48 +0000
commitae3c6231e5dc5b7ee68f96ee769c141d6e63f8e2 (patch)
tree4fb0b6b2c0039102e51917635cd2381072c22cf8 /core/java/android/widget/TextView.java
parentd29ddfd18b19f03dd33e59248496c06a0f3c5f69 (diff)
Fix test flakiness of SplashScreenExceptionListTest
The listener map of DeviceConfig uses OnPropertiesChangedListener as key, so when iterating the map for dispatching change event, the order may not be the same as the order of adding the listener. Then the test may fail because the CountDownLatch counts before the listener of SplashScreenExceptionList is called. This change removes the additional test listener by overriding the method which needs to be waited until it is called, which also eliminates the dependency of listener callback order. Fixes: 212660691 Test: atest SplashScreenExceptionListTest Change-Id: I405932729d26f43428c70f5e282aeb8ae82d81c8
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions