--- a/src/com/beem/project/beem/BeemService.java Mon Aug 10 03:55:05 2009 +0200
+++ b/src/com/beem/project/beem/BeemService.java Mon Aug 10 05:32:45 2009 +0200
@@ -98,7 +98,7 @@
else
mConnectionConfiguration = new ConnectionConfiguration(mHost, mPort);
}
- if (mSettings.getBoolean(getString(R.string.settings_key_xmpp_tls_use), false) == true) {
+ if (mSettings.getBoolean(getString(R.string.settings_key_xmpp_tls_use), false)) {
mConnectionConfiguration.setSecurityMode(SecurityMode.required);
}
mConnectionConfiguration.setDebuggerEnabled(false);
@@ -152,7 +152,7 @@
public void processPacket(Packet packet) {
String from = packet.getFrom();
Notification notif = new Notification(com.beem.project.beem.R.drawable.signal,
- "Demande d'ajout", System.currentTimeMillis());
+ "Demande d'ajout", System.currentTimeMillis());
notif.defaults = Notification.DEFAULT_ALL;
notif.flags = Notification.FLAG_AUTO_CANCEL;
Intent intent = new Intent(BeemService.this, Subscription.class);