Merge "Doesn't scale PagedView snap speed during tests." into sc-v2-dev am: 075c50e0c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15373287 Change-Id: Iabf54a6942a559081a4e27648d1a955ae5f546c8
This commit is contained in:
@@ -1614,7 +1614,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
|
||||
return false;
|
||||
}
|
||||
|
||||
if (FeatureFlags.IS_STUDIO_BUILD) {
|
||||
if (FeatureFlags.IS_STUDIO_BUILD && !Utilities.IS_RUNNING_IN_TEST_HARNESS) {
|
||||
duration *= Settings.Global.getFloat(getContext().getContentResolver(),
|
||||
Settings.Global.WINDOW_ANIMATION_SCALE, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user