mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed launcher issue on latest Samsung when using the Quit button
This commit is contained in:
parent
26d61fef4e
commit
aeb92f6b28
1 changed files with 2 additions and 3 deletions
|
|
@ -20,7 +20,6 @@
|
|||
package org.linphone.activities;
|
||||
|
||||
import android.Manifest;
|
||||
import android.app.ActivityManager;
|
||||
import android.app.Dialog;
|
||||
import android.app.Fragment;
|
||||
import android.app.FragmentManager;
|
||||
|
|
@ -444,9 +443,9 @@ public abstract class MainActivity extends LinphoneGenericActivity
|
|||
private void quit() {
|
||||
goHomeAndClearStack();
|
||||
stopService(new Intent(Intent.ACTION_MAIN).setClass(this, LinphoneService.class));
|
||||
ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
|
||||
/*ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
|
||||
am.killBackgroundProcesses(getString(R.string.sync_account_type));
|
||||
android.os.Process.killProcess(android.os.Process.myPid());
|
||||
android.os.Process.killProcess(android.os.Process.myPid());*/
|
||||
}
|
||||
|
||||
// Tab, Top and Status bars
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue