[Sync] Fix issues with PassphraseCreationDialogFragment
commit8e338c67cb4f35488c8f89f39227c8040d8a696b
authormaxbogue <maxbogue@chromium.org>
Wed, 27 May 2015 01:21:46 +0000 (26 18:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 27 May 2015 01:23:25 +0000 (27 01:23 +0000)
tree49387772b83d7237e804dc0bd4b6490d69e4c776
parent5f5dc9db0c0a87f3dd95dd1858b90c6b06d8d086
[Sync] Fix issues with PassphraseCreationDialogFragment

Only show the error message when trying to submit, and submit when the
user hits the "enter" key after typing.

BUG=487826,465780

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

Cr-Commit-Position: refs/heads/master@{#331504}
chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseCreationDialogFragment.java
chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/SyncCustomizationFragmentTest.java