Merge commit 'df7edf5d92ae3e708e802b68014864fe13184060' into eclair-mr2-plus-aosp
* commit 'df7edf5d92ae3e708e802b68014864fe13184060':
Fix 2283089 - ERD47B: Force Close of Launcher2 process when hitting Search button to invoke QSB
This commit is contained in:
@@ -1408,8 +1408,8 @@ public final class ViewRoot extends Handler implements ViewParent,
|
|||||||
|
|
||||||
// When in touch mode, focus points to the previously focused view,
|
// When in touch mode, focus points to the previously focused view,
|
||||||
// which may have been removed from the view hierarchy. The following
|
// which may have been removed from the view hierarchy. The following
|
||||||
// line checks whether the view is still in the hierarchy
|
// line checks whether the view is still in our hierarchy.
|
||||||
if (focus == null || focus.getParent() == null) {
|
if (focus == null || focus.mAttachInfo != mAttachInfo) {
|
||||||
mRealFocusedView = null;
|
mRealFocusedView = null;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user