diff -r 45b9f25ff611 -r 2fb781bbdd51 project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/NetplayStateFragment.java --- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/NetplayStateFragment.java Mon Aug 06 22:33:07 2012 +0200 +++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/NetplayStateFragment.java Mon Aug 06 22:39:36 2012 +0200 @@ -1,6 +1,7 @@ package org.hedgewars.hedgeroid.netplay; import org.hedgewars.hedgeroid.R; +import org.hedgewars.hedgeroid.frontlib.Frontlib; import org.hedgewars.hedgeroid.netplay.Netplay.State; import android.app.Activity; @@ -101,9 +102,9 @@ @Override public void onReceive(Context context, Intent intent) { int reason = intent.getIntExtra(Netplay.EXTRA_REASON, -1); - if(reason == JnaFrontlib.NETCONN_ROOMLEAVE_ABANDONED) { + if(reason == Frontlib.NETCONN_ROOMLEAVE_ABANDONED) { Toast.makeText(appContext, R.string.toast_room_abandoned, Toast.LENGTH_LONG).show(); - } else if(reason == JnaFrontlib.NETCONN_ROOMLEAVE_KICKED) { + } else if(reason == Frontlib.NETCONN_ROOMLEAVE_KICKED) { Toast.makeText(appContext, R.string.toast_kicked, Toast.LENGTH_LONG).show(); } }