mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
adding a comment to the slow preview hackfix
This commit is contained in:
@ -159,7 +159,8 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan
|
||||
mSupportedPreviewSizes = mParameters!!.supportedPreviewSizes.sortedByDescending { it.width * it.height }
|
||||
refreshPreview()
|
||||
|
||||
if ("Nexus 4".equals(Build.MODEL)) {
|
||||
// hackfix for slow photo preview, more info at https://github.com/SimpleMobileTools/Simple-Camera/issues/120
|
||||
if (Build.MODEL == "Nexus 4") {
|
||||
mParameters!!.setRecordingHint(true)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user