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

Unverified Commit 376f3ca6 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Michael Bestas
Browse files

Camera: Don't throw exceptions when value pairs have spaces in them

"(1,2)" worked, "(1, 2)" crapped out. Fix it.

Change-Id: I71262909280f88d930898a2bcf37d379add4fdea
parent eb74ab39
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4419,6 +4419,7 @@ public class Camera {
            splitter.setString(str);
            int index = 0;
            for (String s : splitter) {
                s = s.replaceAll("\\s","");
                output[index++] = Integer.parseInt(s);
            }
        }