AddServerActivity: Disable auto-correction for the hostname field. Fixes #99.
This commit is contained in:
parent
6ff79ee50d
commit
8386f4a1ef
|
@ -126,6 +126,12 @@ public class AddServerActivity extends Activity implements OnClickListener
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Disable suggestions for host name
|
||||||
|
if (android.os.Build.VERSION.SDK_INT >= 5) {
|
||||||
|
EditText serverHostname = (EditText) findViewById(R.id.host);
|
||||||
|
serverHostname.setInputType(0x80000);
|
||||||
|
}
|
||||||
|
|
||||||
Uri uri = getIntent().getData();
|
Uri uri = getIntent().getData();
|
||||||
if (uri != null && uri.getScheme().equals("irc")) {
|
if (uri != null && uri.getScheme().equals("irc")) {
|
||||||
// handling an irc:// uri
|
// handling an irc:// uri
|
||||||
|
|
Loading…
Reference in New Issue