Fixed linphone intent for sharing or calling if linphone isn't running

This commit is contained in:
Sylvain Berfini 2019-03-06 09:19:46 +01:00
parent 10f34a1979
commit f3006df3d7

View file

@ -72,11 +72,11 @@ public class LinphoneLauncherActivity extends Activity {
new Runnable() {
@Override
public void run() {
Intent intent = new Intent(LinphoneLauncherActivity.this, classToStart);
startActivity(intent);
startActivity(
getIntent().setClass(LinphoneLauncherActivity.this, classToStart));
}
},
1000);
500);
}
private class ServiceWaitThread extends Thread {