commit | e573afcadab65fd0d9f4620c69af362c0d0ec68e | [log] [tgz] |
---|---|---|
author | Heng-Ruey Hsu <henryhsu@google.com> | Mon Jun 19 16:30:52 2017 +0800 |
committer | Heng-Ruey Hsu <henryhsu@google.com> | Mon Jun 19 16:30:52 2017 +0800 |
tree | 533e132c81cf85dbb88a63a195fd306576faa7f6 | |
parent | 81d7c082f25bf0b35627917914e3e9dc2034d0ce [diff] |
Use minimum resolution of supported resolutions parameters.getSupportedVideoSizes() is not sorted. It causes some devices use maximum resolution to test video recording. And the encoded result of the resolution may exceed the file size limitation very easily. Bug: 38250255 Test: Pass testRecorderVideo Change-Id: I6f2bac6000cb77afcd3017c73b4a3a8dd16a595f