Skip to content
Commit 928dca57 authored by Henrique Nakashima's avatar Henrique Nakashima Committed by Chromium LUCI CQ
Browse files

[Android] DisableAnimationsTestRule sets global Android scales in S+

In Android S+, instead of using reflection to access private API
methods, set the animation scales via global settings.

This makes the rule work in Android S+, though it doesn't work in R-,
therefore the previous code is kept for R-.

Bug: 1225707
Change-Id: I188b5b60edcb1c05076f6d9f64932b6eef01cfc2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4334988


Reviewed-by: default avatarJinsuk Kim <jinsukkim@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1120054}
parent 97687900
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment