mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-02 12:42:20 +00:00
Mark opt-in use of camera2 implementation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
19f3716183
commit
1230aa7773
@ -360,6 +360,7 @@ public class TakePhotoActivity extends AppCompatActivity {
|
||||
return rotate;
|
||||
}
|
||||
|
||||
@androidx.camera.camera2.interop.ExperimentalCamera2Interop
|
||||
private Preview getPreview(boolean crop) {
|
||||
Preview.Builder previewBuilder = new Preview.Builder()
|
||||
.setTargetAspectRatio(crop ? AspectRatio.RATIO_16_9 : AspectRatio.RATIO_4_3);
|
||||
|
Loading…
Reference in New Issue
Block a user