Fix hold ringtone

This commit is contained in:
Margaux Clerc 2016-03-07 13:36:17 +01:00 committed by Jehan Monnier
parent f46e4c87ab
commit 32d5369c0d
2 changed files with 2 additions and 2 deletions

BIN
res/raw/hold.mkv Normal file

Binary file not shown.

View file

@ -165,7 +165,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
mLinphoneRootCaFile = basePath + "/rootca.pem";
mRingSoundFile = basePath + "/oldphone_mono.wav";
mRingbackSoundFile = basePath + "/ringback.wav";
mPauseSoundFile = basePath + "/dont_wait_too_long.wav";
mPauseSoundFile = basePath + "/hold.mkv";
mChatDatabaseFile = basePath + "/linphone-history.db";
mCallLogDatabaseFile = basePath + "/linphone-log-history.db";
mErrorToneFile = basePath + "/error.wav";
@ -689,7 +689,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
private void copyAssetsFromPackage() throws IOException {
copyIfNotExist(R.raw.oldphone_mono, mRingSoundFile);
copyIfNotExist(R.raw.ringback, mRingbackSoundFile);
copyIfNotExist(R.raw.dont_wait_too_long, mPauseSoundFile);
copyIfNotExist(R.raw.hold, mPauseSoundFile);
copyIfNotExist(R.raw.incoming_chat, mErrorToneFile);
copyIfNotExist(R.raw.linphonerc_default, mLinphoneConfigFile);
copyFromPackage(R.raw.linphonerc_factory, new File(mLinphoneFactoryConfigFile).getName());