previewsize大小2560 1440
实际crop size 1440 1440 截取了一大半,可能出现正对中心的时候,实际上并没有截取到二维码
可以修改以下code,size大小判断,主要是对比对象还是 Camera.Parameters
--- a/alps/vendor/mediatek/proprietary/packages/apps/MtkSettings/src/com/android/settings/wifi/qrcode/QrCamera.java
+++ b/alps/vendor/mediatek/proprietary/packages/apps/MtkSettings/src/com/android/settings/wifi/qrcode/QrCamera.java
@@ -368,8 +368,10 @@ public class QrCamera extends Handler {
final Rect frame = mScannerCallback.getFramePosition(mPreviewSize, mCameraOrientation);
final QrYuvLuminanceSource image = new QrYuvLuminanceSource