src/com/beem/project/beem/ui/Subscription.java
changeset 450 fe0ba62ee3ff
parent 414 79e07130a059
child 472 4acc4947d6bc
--- a/src/com/beem/project/beem/ui/Subscription.java	Thu Oct 08 10:41:57 2009 +0200
+++ b/src/com/beem/project/beem/ui/Subscription.java	Thu Oct 08 13:59:04 2009 +0200
@@ -94,23 +94,21 @@
 		    PresenceAdapter preAdapt = new PresenceAdapter(presence);
 		    try {
 			mService.sendPresencePacket(preAdapt);
-			Toast.makeText(Subscription.this, getString(R.string.SubscriptAccept),
-			    Toast.LENGTH_SHORT).show();
+			Toast.makeText(Subscription.this, getString(R.string.SubscriptAccept), Toast.LENGTH_SHORT)
+			    .show();
 			finish();
 		    } catch (RemoteException e) {
-			Toast.makeText(Subscription.this, getString(R.string.SubscriptError),
-			    Toast.LENGTH_SHORT).show();
+			Toast.makeText(Subscription.this, getString(R.string.SubscriptError), Toast.LENGTH_SHORT)
+			    .show();
 			e.printStackTrace();
 		    }
 		    break;
 		case R.id.SubscriptionRefuse:
-		    Toast.makeText(Subscription.this, getString(R.string.SubscriptRefused),
-			Toast.LENGTH_SHORT).show();
+		    Toast.makeText(Subscription.this, getString(R.string.SubscriptRefused), Toast.LENGTH_SHORT).show();
 
 		    break;
 		default:
-		    Toast.makeText(Subscription.this, getString(R.string.SubscriptError),
-			Toast.LENGTH_SHORT).show();
+		    Toast.makeText(Subscription.this, getString(R.string.SubscriptError), Toast.LENGTH_SHORT).show();
 	    }
 	}
     };