Removed static import

This commit is contained in:
Sylvain Berfini 2016-02-05 17:22:04 +01:00
parent 4ad4873907
commit 644430db5c

View file

@ -18,7 +18,6 @@ package org.linphone;
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 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.text.SimpleDateFormat;
import java.util.ArrayList; import java.util.ArrayList;
@ -1098,7 +1097,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
public void quit() { public void quit() {
finish(); finish();
stopService(new Intent(ACTION_MAIN).setClass(this, LinphoneService.class)); stopService(new Intent(Intent.ACTION_MAIN).setClass(this, LinphoneService.class));
} }
@Override @Override
@ -1139,7 +1138,7 @@ public class LinphoneActivity extends Activity implements OnClickListener, Conta
super.onResume(); super.onResume();
if (!LinphoneService.isReady()) { 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(); ContactsManager.getInstance().prepareContactsInBackground();