mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 04:05:31 -04:00
universal7885: SamsungParts: Use activity name specified on AndroidManifest.xml
Change-Id: I98df41354e39e04cdcc06701d6663ad362795bdf Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
cecc5caa7b
commit
dd3ffdff56
3 changed files with 10 additions and 10 deletions
|
|
@ -410,7 +410,7 @@ open class CameraLightSensorService : Service() {
|
|||
|
||||
companion object {
|
||||
protected val TAG: String = CameraLightSensorService::class.java.simpleName
|
||||
const val DEBUG = true
|
||||
const val DEBUG = false
|
||||
protected const val CAMERA_CHOICE = CameraCharacteristics.LENS_FACING_FRONT
|
||||
private const val DELAY = 5 * 1000 // 5 Seconds
|
||||
fun BatteryOptimization(context: Context?) {
|
||||
|
|
@ -425,4 +425,4 @@ open class CameraLightSensorService : Service() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue