Merge change 25427 into eclair
* changes: Don't add backslash if there already is one; fixes #2124974
This commit is contained in:
commit
492e8498e7
@ -157,8 +157,12 @@ public class AccountSetupExchange extends Activity implements OnClickListener,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (username != null) {
|
if (username != null) {
|
||||||
// Add a backslash to the start of the username as an affordance
|
// Add a backslash to the start of the username, but only if the username has no
|
||||||
mUsernameView.setText("\\" + username);
|
// backslash in it.
|
||||||
|
if (username.indexOf('\\') < 0) {
|
||||||
|
username = "\\" + username;
|
||||||
|
}
|
||||||
|
mUsernameView.setText(username);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (password != null) {
|
if (password != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user