Arc Wang 352d866af7 Fix Wi-Fi QR scanner crash problem
1. Should only set picture size from the list of supported picture sizes.
   To choose the best picture size, we should keep ratio as preview size to
   avoid image distortion and QR code scan failure.

2. When Camera#setOneShotPreviewCallback callbacks, the image data is of
   preview size, not picture size.

Bug: 132866467
Test: QrCameraTest
      manual
Change-Id: I087e5fcdf064f111e915e0872b50ca5a45ff1d26
2019-05-24 14:43:06 +08:00
2019-03-27 07:14:20 +08:00
2019-04-04 12:49:15 -07:00
2019-03-27 07:14:20 +08:00
2018-12-18 09:51:08 +00:00
2019-05-02 01:44:42 +00:00
2019-02-06 15:44:40 +00:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%