mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: parts: Refactor battery fragment
* Show live data of battery Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
419f6646a3
commit
c813e0984a
22 changed files with 135 additions and 393 deletions
|
|
@ -152,7 +152,7 @@ class CameraLightSensorService : Service() {
|
|||
Log.w(TAG, "onReady: Session is NULL")
|
||||
}
|
||||
cameraDevice!!.close()
|
||||
session.close()
|
||||
session.close()
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "Camera is in use")
|
||||
e.printStackTrace()
|
||||
|
|
|
|||
Loading…
Reference in a new issue