mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-27 00:38:09 +00:00
21 lines
577 B
Java
21 lines
577 B
Java
package org.linphone;
|
|
|
|
import android.app.Activity;
|
|
import android.os.Bundle;
|
|
|
|
public class LinphoneGenericActivity extends Activity {
|
|
|
|
@Override
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
|
|
/*After a crash, Android restart the last Activity so we need to check
|
|
* if all dependencies are load
|
|
*/
|
|
if (!LinphoneManager.isInstanciated()) {
|
|
finish();
|
|
startActivity(getIntent().setClass(this, LinphoneLauncherActivity.class));
|
|
return;
|
|
}
|
|
}
|
|
}
|