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

Commit f175024a authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Steve Kondik
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 9888b73d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4357,6 +4357,7 @@ public class Camera {
            splitter.setString(str);
            int index = 0;
            for (String s : splitter) {
                s = s.replaceAll("\\s","");
                output[index++] = Integer.parseInt(s);
            }
        }