diff --git a/src/org/yaaic/model/Status.java b/src/org/yaaic/model/Status.java index d3b365f..90e4700 100644 --- a/src/org/yaaic/model/Status.java +++ b/src/org/yaaic/model/Status.java @@ -20,6 +20,11 @@ along with Yaaic. If not, see . */ package org.yaaic.model; +/** + * Helper class for server status constants + * + * @author Sebastian Kaspari + */ public class Status { public static final int DISCONNECTED = 0; public static final int CONNECTING = 1; diff --git a/src/org/yaaic/view/ServerActivity.java b/src/org/yaaic/view/ServerActivity.java index 4787033..1c2a6d7 100644 --- a/src/org/yaaic/view/ServerActivity.java +++ b/src/org/yaaic/view/ServerActivity.java @@ -29,7 +29,6 @@ import android.content.ServiceConnection; import android.os.Bundle; import android.os.IBinder; import android.util.Log; -import android.view.Display; import android.view.KeyEvent; import android.view.Menu; import android.view.MenuInflater; @@ -94,8 +93,6 @@ public class ServerActivity extends Activity implements ServiceConnection, Chann ((TextView) findViewById(R.id.title)).setText(server.getTitle()); ((ImageView) findViewById(R.id.status)).setImageResource(server.getStatusIcon()); - Display d = getWindowManager().getDefaultDisplay(); - deck = (Gallery) findViewById(R.id.deck); deckAdapter = new DeckAdapter(); deck.setAdapter(deckAdapter);