project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/LobbyChatFragment.java
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/LobbyChatFragment.java Sat Jul 21 14:56:52 2012 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/LobbyChatFragment.java Mon Jul 23 00:17:06 2012 +0200
@@ -85,13 +85,13 @@
public void onServiceConnected(ComponentName className, IBinder binder) {
Log.d("LobbyChatFragment", "netconn received");
netconn = ((NetplayBinder) binder).getNetconn();
- adapter.setLog(netconn.lobbyLog.getLog());
- netconn.lobbyLog.registerObserver(adapter);
+ adapter.setLog(netconn.lobbyChatlog.getLog());
+ netconn.lobbyChatlog.registerObserver(adapter);
}
public void onServiceDisconnected(ComponentName className) {
// TODO navigate away
- netconn.lobbyLog.unregisterObserver(adapter);
+ netconn.lobbyChatlog.unregisterObserver(adapter);
netconn = null;
}
};