diff options
| author | 2009-11-24 15:56:15 -0800 | |
|---|---|---|
| committer | 2009-11-24 15:56:15 -0800 | |
| commit | df5afd22e4b71d4bbab703300fb8b16a0a34d657 (patch) | |
| tree | fb626e2adc61de03bdae774dae5dd2cc334f36b9 | |
| parent | b5dcac06b0186551517389d2b2ca62460c8e40e6 (diff) | |
| parent | 8bfa77b0e2de840678c026da0fc5ca1ce03d0c1a (diff) | |
am 8bfa77b0: am df7edf5d: am 55896f3c: Merge change Ib71193bf into eclair
Merge commit '8bfa77b0e2de840678c026da0fc5ca1ce03d0c1a'
* commit '8bfa77b0e2de840678c026da0fc5ca1ce03d0c1a':
Fix 2283089 - ERD47B: Force Close of Launcher2 process when hitting Search button to invoke QSB
| -rw-r--r-- | core/java/android/view/ViewRoot.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/ViewRoot.java b/core/java/android/view/ViewRoot.java index ed2139d5f044..47b976bc2f4d 100644 --- a/core/java/android/view/ViewRoot.java +++ b/core/java/android/view/ViewRoot.java @@ -1408,8 +1408,8 @@ public final class ViewRoot extends Handler implements ViewParent, // When in touch mode, focus points to the previously focused view, // which may have been removed from the view hierarchy. The following - // line checks whether the view is still in the hierarchy - if (focus == null || focus.getParent() == null) { + // line checks whether the view is still in our hierarchy. + if (focus == null || focus.mAttachInfo != mAttachInfo) { mRealFocusedView = null; return false; } |