diff options
author | kaiyiz <kaiyiz@codeaurora.org> | 2013-07-31 12:16:07 +0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-18 13:52:39 -0700 |
commit | 52463f36899c9051c42ac784077e514864e52373 (patch) | |
tree | fe46c27aa1789ecd538c3e337f9bfa53a145e291 /src/com/android | |
parent | c051f6de77568ab96d0d21ff8d184d7ce36d14ff (diff) | |
download | android_packages_apps_Calendar-52463f36899c9051c42ac784077e514864e52373.tar.gz android_packages_apps_Calendar-52463f36899c9051c42ac784077e514864e52373.tar.bz2 android_packages_apps_Calendar-52463f36899c9051c42ac784077e514864e52373.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
Diffstat (limited to 'src/com/android')
-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); } } } |