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

Commit a958fc33 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Unset is -1 not Nan

Change-Id: I6e7fac4b9f1c3dc6cc88c786db856ddecf3f8538
parent 14b4836a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1070,7 +1070,7 @@ public final class PrintSpoolerService extends Service {
            if (progressString != null) {
                float progress = Float.parseFloat(progressString);

                if (progress != Float.NaN) {
                if (progress != -1) {
                    printJob.setProgress(progress);
                }
            }