mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Show git describe in startup logs
This commit is contained in:
parent
b4329af83a
commit
a5b8a8a683
2 changed files with 6 additions and 1 deletions
|
|
@ -575,10 +575,12 @@ class ContactsManager
|
|||
|
||||
@WorkerThread
|
||||
fun onCoreStarted(core: Core) {
|
||||
Log.i("$TAG Core has been started")
|
||||
loadContactsOnlyFromDefaultDirectory = corePreferences.fetchContactsFromDefaultDirectory
|
||||
|
||||
core.addListener(coreListener)
|
||||
for (list in core.friendsLists) {
|
||||
Log.i("$TAG Found existing friend list [${list.displayName}]")
|
||||
list.addListener(friendListListener)
|
||||
}
|
||||
|
||||
|
|
@ -604,6 +606,7 @@ class ContactsManager
|
|||
|
||||
@WorkerThread
|
||||
fun onCoreStopped(core: Core) {
|
||||
Log.w("$TAG Core has been stopped")
|
||||
coroutineScope.cancel()
|
||||
|
||||
core.removeListener(coreListener)
|
||||
|
|
|
|||
|
|
@ -415,7 +415,9 @@ class CoreContext
|
|||
}
|
||||
Log.i("=========================================")
|
||||
Log.i("==== Linphone-android information dump ====")
|
||||
Log.i("VERSION=${BuildConfig.VERSION_NAME} / ${BuildConfig.VERSION_CODE}")
|
||||
val gitVersion = AppUtils.getString(org.linphone.R.string.linphone_app_version)
|
||||
val gitBranch = AppUtils.getString(org.linphone.R.string.linphone_app_branch)
|
||||
Log.i("VERSION=${BuildConfig.VERSION_NAME} / ${BuildConfig.VERSION_CODE} ($gitVersion from $gitBranch branch)")
|
||||
Log.i("PACKAGE=${BuildConfig.APPLICATION_ID}")
|
||||
Log.i("BUILD TYPE=${BuildConfig.BUILD_TYPE}")
|
||||
Log.i("=========================================")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue