From 644430db5cd2b0ab235bd323a9c4e32b86af6ea1 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 5 Feb 2016 17:22:04 +0100 Subject: [PATCH] Removed static import --- src/org/linphone/LinphoneActivity.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/org/linphone/LinphoneActivity.java b/src/org/linphone/LinphoneActivity.java index 2db4f995b..0f0abcc6d 100644 --- a/src/org/linphone/LinphoneActivity.java +++ b/src/org/linphone/LinphoneActivity.java @@ -18,7 +18,6 @@ package org.linphone; along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -import static android.content.Intent.ACTION_MAIN; import java.text.SimpleDateFormat; import java.util.ArrayList; @@ -1098,7 +1097,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta public void quit() { finish(); - stopService(new Intent(ACTION_MAIN).setClass(this, LinphoneService.class)); + stopService(new Intent(Intent.ACTION_MAIN).setClass(this, LinphoneService.class)); } @Override @@ -1139,7 +1138,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta super.onResume(); if (!LinphoneService.isReady()) { - startService(new Intent(ACTION_MAIN).setClass(this, LinphoneService.class)); + startService(new Intent(Intent.ACTION_MAIN).setClass(this, LinphoneService.class)); } ContactsManager.getInstance().prepareContactsInBackground();