extend wake lock scope to screen to avoid sound system from going to standby

This commit is contained in:
Jehan Monnier 2010-03-25 14:14:10 +01:00
parent add223eb06
commit 226f635662
2 changed files with 9 additions and 0 deletions

View file

@ -153,6 +153,11 @@ public interface LinphoneCore {
* @param isMuted
*/
public void muteMic(boolean isMuted);
/**
*
* @return true is mic is muted
*/
public boolean isMicMuted();
/**
* Build an address according to the current proxy config. In case destination is not a sip uri, the default proxy domain is automatically appended
* @param destination

View file

@ -56,6 +56,7 @@ class LinphoneCoreImpl implements LinphoneCore {
private native void inviteAddress(long nativePtr,long to);
private native void sendDtmf(long nativePtr,char dtmf);
private native void clearCallLogs(long nativePtr);
private native boolean isMicMuted(long nativePtr);
LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException {
@ -190,4 +191,7 @@ class LinphoneCoreImpl implements LinphoneCore {
public void clearCallLogs() {
clearCallLogs(nativePtr);
}
public boolean isMicMuted() {
return isMicMuted(nativePtr);
}
}