Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57f653a1 authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "PrintSpooler: Fix EqualsNaN in test"

am: ffcf3ff7

Change-Id: I4c803259d993c51790c4b960251dde3a2bea9db9
parents 4dac1820 ffcf3ff7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -154,16 +154,16 @@ public class WorkflowTest extends BasePrintTest {

    @AfterClass
    public static void enableAnimations() throws Exception {
        if (sWindowAnimationScaleBefore != Float.NaN) {
        if (!Float.isNaN(sWindowAnimationScaleBefore)) {
            runShellCommand(
                    "settings put global window_animation_scale " + sWindowAnimationScaleBefore);
        }
        if (sTransitionAnimationScaleBefore != Float.NaN) {
        if (!Float.isNaN(sTransitionAnimationScaleBefore)) {
            runShellCommand(
                    "settings put global transition_animation_scale " +
                            sTransitionAnimationScaleBefore);
        }
        if (sAnimatiorDurationScaleBefore != Float.NaN) {
        if (!Float.isNaN(sAnimatiorDurationScaleBefore)) {
            runShellCommand(
                    "settings put global animator_duration_scale " + sAnimatiorDurationScaleBefore);
        }