Fixed linphone's ringtone + increased version number
This commit is contained in:
parent
93f860d136
commit
84f3d4ebd9
3 changed files with 3 additions and 2 deletions
|
@ -48,7 +48,7 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 28
|
||||
versionCode 4108
|
||||
versionCode 4109
|
||||
versionName "4.1"
|
||||
applicationId getPackageName()
|
||||
multiDexEnabled true
|
||||
|
|
|
@ -217,7 +217,7 @@ public class LinphoneManager implements CoreListener, SensorEventListener, Accou
|
|||
mChatDatabaseFile = mBasePath + "/linphone-history.db";
|
||||
mCallLogDatabaseFile = mBasePath + "/linphone-log-history.db";
|
||||
mFriendsDatabaseFile = mBasePath + "/linphone-friends.db";
|
||||
mRingSoundFile = mBasePath + "/ringtone.mkv";
|
||||
mRingSoundFile = mBasePath + "/share/sounds/linphone/rings/notes_of_the_optimistic.mkv";
|
||||
mUserCertsPath = mBasePath + "/user-certs";
|
||||
|
||||
mPrefs = LinphonePreferences.instance();
|
||||
|
|
|
@ -1348,6 +1348,7 @@ public class LinphonePreferences {
|
|||
|
||||
public void enableDeviceRingtone(boolean enable) {
|
||||
getConfig().setBool("app", "device_ringtone", enable);
|
||||
LinphoneManager.getInstance().enableDeviceRingtone(enable);
|
||||
}
|
||||
|
||||
public boolean isIncomingCallVibrationEnabled() {
|
||||
|
|
Loading…
Reference in a new issue