mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
add always on torch mode for image capture
This commit is contained in:
@ -23,6 +23,7 @@ const val PHOTO_QUALITY = "photo_quality"
|
||||
const val FLASH_OFF = 0
|
||||
const val FLASH_ON = 1
|
||||
const val FLASH_AUTO = 2
|
||||
const val FLASH_ALWAYS_ON = 3
|
||||
|
||||
fun compensateDeviceRotation(orientation: Int) = when (orientation) {
|
||||
ORIENT_LANDSCAPE_LEFT -> 270
|
||||
|
Reference in New Issue
Block a user