mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-01 12:15:03 -06:00
android: camera: Fix still image camera input (#1892)
This commit is contained in:
parent
ccd61d0134
commit
6ad642a984
@ -1,4 +1,4 @@
|
|||||||
// Copyright 2023 Citra Emulator Project
|
// Copyright Citra Emulator Project / Azahar Emulator Project
|
||||||
// Licensed under GPLv2 or any later version
|
// Licensed under GPLv2 or any later version
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
@ -57,6 +57,7 @@ object StillImageCameraHelper {
|
|||||||
val request = ImageRequest.Builder(context)
|
val request = ImageRequest.Builder(context)
|
||||||
.data(uri)
|
.data(uri)
|
||||||
.size(width, height)
|
.size(width, height)
|
||||||
|
.allowHardware(false)
|
||||||
.build()
|
.build()
|
||||||
return context.imageLoader.executeBlocking(request).drawable?.toBitmap(
|
return context.imageLoader.executeBlocking(request).drawable?.toBitmap(
|
||||||
width,
|
width,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user