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