diff options
author | kaiyiz <kaiyiz@codeaurora.org> | 2013-07-31 12:16:07 +0800 |
---|---|---|
committer | Adnan <adnan@cyngn.com> | 2014-08-25 18:37:39 -0700 |
commit | c0f335c6b7c9900dc5fea1bfc220552a1be39331 (patch) | |
tree | 279a55115cf3ca56f239f4bc63b546b965781365 | |
parent | 6964ddfb30cc2d9bb31cec65469e9cd4c4aefda9 (diff) | |
download | android_packages_apps_Calendar-c0f335c6b7c9900dc5fea1bfc220552a1be39331.tar.gz android_packages_apps_Calendar-c0f335c6b7c9900dc5fea1bfc220552a1be39331.tar.bz2 android_packages_apps_Calendar-c0f335c6b7c9900dc5fea1bfc220552a1be39331.zip |
Calendar: Cursor remains constant after locking and unlocking
The focus will be cleared at the end of the thread.
Do not clear the focus and save the current focus state for resuming.
CRs-Fixed: BZ1200
Change-Id: I2fd1b8f67caaac0afef87959cafe5a56efed48a2
-rw-r--r-- | src/com/android/calendar/event/EditEventFragment.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/calendar/event/EditEventFragment.java b/src/com/android/calendar/event/EditEventFragment.java index 2c966e94..8ec7b338 100644 --- a/src/com/android/calendar/event/EditEventFragment.java +++ b/src/com/android/calendar/event/EditEventFragment.java @@ -879,8 +879,7 @@ public class EditEventFragment extends Fragment implements EventHandler, OnColor // disappearing. final View focusedView = mActivity.getCurrentFocus(); if (focusedView != null) { - mInputMethodManager.hideSoftInputFromWindow(focusedView.getWindowToken(), 0); - focusedView.clearFocus(); + mInputMethodManager.hideSoftInputFromWindow(focusedView.getWindowToken(),0); } } } |