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

Commit ffcf3ff7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "PrintSpooler: Fix EqualsNaN in test"

parents 7e73c73f c899ee54
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);
        }