[Android] Make EmptyAlertEditText validate trimmed text and use more.
commit2378bc332a901bc83bf00a37a14a09dfffcea3f1
authorkkimlabs <kkimlabs@chromium.org>
Tue, 30 Jun 2015 22:18:03 +0000 (30 15:18 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 30 Jun 2015 22:18:33 +0000 (30 22:18 +0000)
tree4dfeba1743065866f6b608dce1d6b45a0e417d04
parent16a6d27e38b02d41e3dfd4e1b1a6df298a98368e
[Android] Make EmptyAlertEditText validate trimmed text and use more.

- Since EmptyAlertEditText checks emptiness and clients' use cases are
  trimmed, it should validate trimmed text.
- Use in EnhancedBookmarkAddEditFolderActivity.

BUG=None

Review URL: https://codereview.chromium.org/1213103004

Cr-Commit-Position: refs/heads/master@{#336892}
chrome/android/java/res/layout/eb_add_edit_folder_activity.xml
chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkAddEditFolderActivity.java
chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java
chrome/android/java/src/org/chromium/chrome/browser/widget/EmptyAlertEditText.java
chrome/android/java/strings/android_chrome_strings.grd