Fix hold ringtone
This commit is contained in:
parent
f46e4c87ab
commit
32d5369c0d
2 changed files with 2 additions and 2 deletions
BIN
res/raw/hold.mkv
Normal file
BIN
res/raw/hold.mkv
Normal file
Binary file not shown.
|
@ -165,7 +165,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
|
||||||
mLinphoneRootCaFile = basePath + "/rootca.pem";
|
mLinphoneRootCaFile = basePath + "/rootca.pem";
|
||||||
mRingSoundFile = basePath + "/oldphone_mono.wav";
|
mRingSoundFile = basePath + "/oldphone_mono.wav";
|
||||||
mRingbackSoundFile = basePath + "/ringback.wav";
|
mRingbackSoundFile = basePath + "/ringback.wav";
|
||||||
mPauseSoundFile = basePath + "/dont_wait_too_long.wav";
|
mPauseSoundFile = basePath + "/hold.mkv";
|
||||||
mChatDatabaseFile = basePath + "/linphone-history.db";
|
mChatDatabaseFile = basePath + "/linphone-history.db";
|
||||||
mCallLogDatabaseFile = basePath + "/linphone-log-history.db";
|
mCallLogDatabaseFile = basePath + "/linphone-log-history.db";
|
||||||
mErrorToneFile = basePath + "/error.wav";
|
mErrorToneFile = basePath + "/error.wav";
|
||||||
|
@ -689,7 +689,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
|
||||||
private void copyAssetsFromPackage() throws IOException {
|
private void copyAssetsFromPackage() throws IOException {
|
||||||
copyIfNotExist(R.raw.oldphone_mono, mRingSoundFile);
|
copyIfNotExist(R.raw.oldphone_mono, mRingSoundFile);
|
||||||
copyIfNotExist(R.raw.ringback, mRingbackSoundFile);
|
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.incoming_chat, mErrorToneFile);
|
||||||
copyIfNotExist(R.raw.linphonerc_default, mLinphoneConfigFile);
|
copyIfNotExist(R.raw.linphonerc_default, mLinphoneConfigFile);
|
||||||
copyFromPackage(R.raw.linphonerc_factory, new File(mLinphoneFactoryConfigFile).getName());
|
copyFromPackage(R.raw.linphonerc_factory, new File(mLinphoneFactoryConfigFile).getName());
|
||||||
|
|
Loading…
Reference in a new issue