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

Commit 26274fae authored by Wu-cheng Li's avatar Wu-cheng Li
Browse files

Improve camera javadoc.

Preview has to be stopped before chaning preview size.

Change-Id: I6ab30402b2270eed9606a69ebce43ae58e0776a8
parent f3cd1d95
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1568,7 +1568,9 @@ public class Camera {
        }

        /**
         * Sets the dimensions for preview pictures.
         * Sets the dimensions for preview pictures. If the preview has already
         * started, applications should stop the preview first before changing
         * preview size.
         *
         * The sides of width and height are based on camera orientation. That
         * is, the preview size is the size before it is rotated by display