Replace Mediastreamer log by Android log in LinphoneLauncherActivity

This commit is contained in:
Erwan Croze 2017-10-11 17:03:28 +02:00
parent a4e3f3b41a
commit d8f336b884

View file

@ -25,9 +25,9 @@ import android.content.pm.ActivityInfo;
import android.net.Uri; import android.net.Uri;
import android.os.Bundle; import android.os.Bundle;
import android.os.Handler; import android.os.Handler;
import android.util.Log;
import org.linphone.assistant.RemoteProvisioningActivity; import org.linphone.assistant.RemoteProvisioningActivity;
import org.linphone.mediastream.Log;
import org.linphone.mediastream.Version; import org.linphone.mediastream.Version;
import org.linphone.tutorials.TutorialLauncherActivity; import org.linphone.tutorials.TutorialLauncherActivity;
@ -158,12 +158,12 @@ public class LinphoneLauncherActivity extends Activity {
} }
if (uriToResolve != null) { if (uriToResolve != null) {
addressToCall = ContactsManager.getInstance().getAddressOrNumberForAndroidContact(getContentResolver(), uriToResolve); addressToCall = ContactsManager.getInstance().getAddressOrNumberForAndroidContact(getContentResolver(), uriToResolve);
Log.i("Intent has uri to resolve : " + uriToResolve.toString()); Log.i("LinphoneLauncher", "Intent has uri to resolve : " + uriToResolve.toString());
uriToResolve = null; uriToResolve = null;
} }
if (addressToCall != null) { if (addressToCall != null) {
newIntent.putExtra("SipUriOrNumber", addressToCall); newIntent.putExtra("SipUriOrNumber", addressToCall);
Log.i("Intent has address to call : " + addressToCall); Log.i("LinphoneLauncher", "Intent has address to call : " + addressToCall);
addressToCall = null; addressToCall = null;
} }
startActivity(newIntent); startActivity(newIntent);