- baresip service now lets main activity to die on its own after

receiving kill intent from it
- small logging edits
This commit is contained in:
Juha Heinanen
2019-02-26 03:37:07 +02:00
parent c0b75a16c6
commit 5c476efea6
3 changed files with 11 additions and 4 deletions

View File

@ -465,7 +465,7 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc
stopped:
LOGD("tell app about baresip stop");
LOGD("tell main that baresip has stopped");
jmethodID stoppedId = (*env)->GetMethodID(env, pctx->mainActivityClz, "stopped", "()V");
(*env)->CallVoidMethod(env, pctx->mainActivityObj, stoppedId);