* #29924: numbers of calls and conferences
Removed useless log
diff --git a/src/com/savoirfairelinux/sflphone/service/SipService.java b/src/com/savoirfairelinux/sflphone/service/SipService.java
index 1e2a637..9f5746d 100644
--- a/src/com/savoirfairelinux/sflphone/service/SipService.java
+++ b/src/com/savoirfairelinux/sflphone/service/SipService.java
@@ -190,14 +190,12 @@
public void execute(Runnable task) {
// TODO: add wakelock
- Log.w(TAG, "Sending to targeT");
Message.obtain(this, 0/* don't care */, task).sendToTarget();
Log.w(TAG, "SenT!");
}
@Override
public void handleMessage(Message msg) {
- Log.w(TAG, "handleMessage");
if (msg.obj instanceof Runnable) {
executeInternal((Runnable) msg.obj);
} else {
@@ -206,7 +204,6 @@
}
private void executeInternal(Runnable task) {
- Log.w(TAG, "executeInternal");
try {
task.run();
} catch (Throwable t) {
@@ -1088,6 +1085,14 @@
@Override
public Conference getCurrentCall() throws RemoteException {
for (SipCall i : current_calls.values()) {
+
+ // Incoming >> Ongoing
+ if(i.isIncoming()){
+ Conference tmp = new Conference("-1");
+ tmp.getParticipants().add(i);
+ return tmp;
+ }
+
if (i.isOngoing()) {
Conference tmp = new Conference("-1");
tmp.getParticipants().add(i);