[Android] Hide keyboard when edit activity finishes
commitfb781e90c31b43a29637c0f8ad57c8addfa260b6
authorianwen <ianwen@chromium.org>
Tue, 23 Jun 2015 08:05:08 +0000 (23 01:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 23 Jun 2015 08:05:38 +0000 (23 08:05 +0000)
treee8fe8408d0fd77cc1d4af8d2c97ccf542f75a34a
parent744b58f43d089ccf47ba66224139cb54a10e54bf
[Android] Hide keyboard when edit activity finishes

Dismiss the software keyboard when the edit activity finishes. onPause()
is preferred here because when the activity is pushed to
recents/background, destroy() isn't going to be called right away.

BUG=499415

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

Cr-Commit-Position: refs/heads/master@{#335644}
chrome/android/java_staging/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkEditActivity.java