forked from mirror/monocles_chat_clean
Disable create call log files
This commit is contained in:
parent
5737459aa8
commit
6e766f98e9
1 changed files with 5 additions and 1 deletions
|
@ -2866,11 +2866,15 @@ public class JingleRtpConnection extends AbstractJingleConnection
|
|||
this.webRTCWrapper.verifyClosed();
|
||||
this.jingleConnectionManager.setTerminalSessionState(id, getEndUserState(), getMedia());
|
||||
super.finish();
|
||||
/* // Disable call log files for now
|
||||
|
||||
try {
|
||||
File log = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), "Cheogram/calls/" + id.getWith().asBareJid() + "." + id.getSessionId() + "." + created + ".log");
|
||||
File log = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), "monocles chat/calls/" + id.getWith().asBareJid() + "." + id.getSessionId() + "." + created + ".log");
|
||||
log.getParentFile().mkdirs();
|
||||
Runtime.getRuntime().exec(new String[]{"logcat", "-dT", "" + created + ".0", "-f", log.getAbsolutePath()});
|
||||
} catch (final IOException e) { }
|
||||
|
||||
*/
|
||||
} else {
|
||||
throw new IllegalStateException(
|
||||
String.format("Unable to call finish from %s", this.state));
|
||||
|
|
Loading…
Reference in a new issue