|
|
|
@ -2,6 +2,7 @@ package com.yinuo.safetywatcher.watcher.ui
|
|
|
|
|
|
|
|
|
|
import android.content.Intent
|
|
|
|
|
import android.os.Build
|
|
|
|
|
import android.os.Process
|
|
|
|
|
import android.view.View
|
|
|
|
|
import androidx.annotation.RequiresApi
|
|
|
|
|
import com.common.commonlib.utils.NetworkHelper
|
|
|
|
@ -112,6 +113,7 @@ class HomeActivity : NoOptionsActivity() {
|
|
|
|
|
SimHelper.release(this@HomeActivity)
|
|
|
|
|
mBinding.root?.removeCallbacks(reStartCamera)
|
|
|
|
|
mRender?.onDestoryed()
|
|
|
|
|
Process.killProcess(Process.myPid())
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override fun onResume() {
|
|
|
|
|