universal7885: parts: Refactor battery fragment

* Show live data of battery

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2022-04-14 15:39:13 +09:00
commit c813e0984a
No known key found for this signature in database
GPG key ID: 50ABF73F0D19445D
22 changed files with 135 additions and 393 deletions

View file

@ -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()