Fixed mistake in previous commit regarding quit button
This commit is contained in:
parent
77d87cb5c8
commit
813504bb85
2 changed files with 1 additions and 6 deletions
|
@ -88,7 +88,7 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 4209
|
||||
versionCode 4210
|
||||
versionName "${project.version}"
|
||||
applicationId getPackageName()
|
||||
multiDexEnabled true
|
||||
|
|
|
@ -69,7 +69,6 @@ import org.linphone.fragments.EmptyFragment;
|
|||
import org.linphone.fragments.StatusBarFragment;
|
||||
import org.linphone.history.HistoryActivity;
|
||||
import org.linphone.menu.SideMenuFragment;
|
||||
import org.linphone.service.LinphoneService;
|
||||
import org.linphone.settings.LinphonePreferences;
|
||||
import org.linphone.settings.SettingsActivity;
|
||||
import org.linphone.utils.DeviceUtils;
|
||||
|
@ -424,11 +423,7 @@ public abstract class MainActivity extends LinphoneGenericActivity
|
|||
}
|
||||
|
||||
private void quit() {
|
||||
stopService(new Intent(Intent.ACTION_MAIN).setClass(this, LinphoneService.class));
|
||||
goHomeAndClearStack();
|
||||
/*ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
|
||||
am.killBackgroundProcesses(getString(R.string.sync_account_type));
|
||||
android.os.Process.killProcess(android.os.Process.myPid());*/
|
||||
}
|
||||
|
||||
// Tab, Top and Status bars
|
||||
|
|
Loading…
Reference in a new issue