summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2013-07-31 12:16:07 +0800
committerSteve Kondik <steve@cyngn.com>2015-10-18 13:52:39 -0700
commit52463f36899c9051c42ac784077e514864e52373 (patch)
treefe46c27aa1789ecd538c3e337f9bfa53a145e291 /src
parentc051f6de77568ab96d0d21ff8d184d7ce36d14ff (diff)
downloadandroid_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')
-rw-r--r--src/com/android/calendar/event/EditEventFragment.java3
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);
}
}
}