小米MIUICamera2CaptureRequest.Builder的set方法,对部分key不生效//MIUI中,CaptureRequest.Builder设置图片方向不生效captureBuilder.set(CaptureRequest.JPEG_ORIENTATION,getJpegOrientation(deviceRotation));解决方法:获得拍摄好的照片Bitmap后,再对其进行旋转publicBitmaprotateBitmap(Bitmapbitmap,intangle){Matrixmatrix=newMatrix();matrix.setRotate(angle