- Improved/fixed log messages.
This commit is contained in:
@@ -60,7 +60,8 @@ class MainActivity : AppCompatActivity() {
|
|||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
|
||||||
val intentAction = intent.getStringExtra("action")
|
val intentAction = intent.getStringExtra("action")
|
||||||
Log.d("Baresip", "Main created with action '$intentAction'")
|
|
||||||
|
Log.d("Baresip", "At MainActivity onCreate with action '$intentAction'")
|
||||||
|
|
||||||
kgm = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager
|
kgm = getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager
|
||||||
dismissKeyguard()
|
dismissKeyguard()
|
||||||
@@ -937,7 +938,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
private fun quitRestart(reStart: Boolean) {
|
private fun quitRestart(reStart: Boolean) {
|
||||||
if (stopState == "initial") {
|
if (stopState == "initial") {
|
||||||
Log.d("Baresip", "quitRestart Restart = $restart")
|
Log.d("Baresip", "quitRestart Restart = $reStart")
|
||||||
if (BaresipService.isServiceRunning) {
|
if (BaresipService.isServiceRunning) {
|
||||||
restart = reStart
|
restart = reStart
|
||||||
baresipService.setAction("Stop");
|
baresipService.setAction("Stop");
|
||||||
|
|||||||
Reference in New Issue
Block a user