Fixed static picture path
This commit is contained in:
parent
fbe7986641
commit
d25b153019
2 changed files with 4 additions and 0 deletions
|
@ -255,6 +255,7 @@ class CoreContext(val context: Context, coreConfig: Config) {
|
|||
|
||||
core.zrtpSecretsFile = corePreferences.zrtpSecretsPath
|
||||
core.callLogsDatabasePath = corePreferences.callHistoryDatabasePath
|
||||
core.staticPicture = corePreferences.staticPicture
|
||||
|
||||
initUserCertificates()
|
||||
|
||||
|
|
|
@ -399,6 +399,9 @@ class CorePreferences constructor(private val context: Context) {
|
|||
val callHistoryDatabasePath: String
|
||||
get() = context.filesDir.absolutePath + "/linphone-log-history.db"
|
||||
|
||||
val staticPicture: String
|
||||
get() = context.filesDir.absolutePath + "/share/images/nowebcamcif.jpg"
|
||||
|
||||
fun copyAssetsFromPackage() {
|
||||
copy("linphonerc_default", configPath)
|
||||
copy("linphonerc_factory", factoryConfigPath, true)
|
||||
|
|
Loading…
Reference in a new issue