summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseSetArray.java
diff options
context:
space:
mode:
authorryanlwlin <ryanlwlin@google.com>2022-02-10 14:37:05 +0800
committerryanlwlin <ryanlwlin@google.com>2022-02-14 16:34:42 +0800
commitdb026034a907d602eb66a4276ddc45912a0fab3d (patch)
treea618c046640db35e337c9fe904bd94a4a726f8f1 /core/java/android/util/SparseSetArray.java
parent6cba6c1beeadcdae3dfb7f1fdac5c010fa5a18ee (diff)
Fix inconsistent scale when setting magnificaotion config
We used to use MagnificationScaleProvider to retrive the scale when transitioning the mode, which is incorrect because the provider only persists the scale changed by users. If the scale is changed by public api, then the scale will become inconsistent. To fix it we choose the scale based on the target mode. We also fix that mode transition without animation should be considered as a transition case. We also add more log for flaky CTS debugging. Bug: 218792845 Test: atest MagnificationProcessorTest atest com.android.server.accessibility.magnification Change-Id: I47f49345ce46f726d6e06e203110ef793f35c76e
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions