crash fixed
This commit is contained in:
parent
2cd4e23463
commit
6c86997d2c
2 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,7 @@ public class OsmandDevelopmentPlugin extends OsmandPlugin {
|
||||||
if (activity != null) {
|
if (activity != null) {
|
||||||
activity.getSupportFragmentManager()
|
activity.getSupportFragmentManager()
|
||||||
.beginTransaction()
|
.beginTransaction()
|
||||||
.replace(R.id.fragmentContainer, fragment, FirstUsageWizardFragment.TAG)
|
.replace(R.id.fragmentContainer, fragment, ServerFragment.TAG)
|
||||||
.commitAllowingStateLoss();
|
.commitAllowingStateLoss();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,7 @@ import java.io.IOException;
|
||||||
import static android.content.Context.WIFI_SERVICE;
|
import static android.content.Context.WIFI_SERVICE;
|
||||||
|
|
||||||
public class ServerFragment extends BaseOsmAndFragment {
|
public class ServerFragment extends BaseOsmAndFragment {
|
||||||
|
public static final String TAG = "ServerFrag";
|
||||||
private final static Log LOG = PlatformUtil.getLog(ServerFragment.class);
|
private final static Log LOG = PlatformUtil.getLog(ServerFragment.class);
|
||||||
private final int port = 24990;
|
private final int port = 24990;
|
||||||
final int THREAD_ID = 14231; // random number
|
final int THREAD_ID = 14231; // random number
|
||||||
|
|
Loading…
Reference in a new issue