Merge "Fix WindowFocusTests#testTapNonFocusableWindow failed" into qt-dev

am: de5b1d3805

Change-Id: I5212af3e21819580c4cfaba0a202a568798e37ed
This commit is contained in:
Arthur Hung
2019-06-26 23:07:41 -07:00
committed by android-build-merger

View File

@@ -7693,7 +7693,7 @@ public class WindowManagerService extends IWindowManager.Stub
private void onPointerDownOutsideFocusLocked(IBinder touchedToken) {
final WindowState touchedWindow = windowForClientLocked(null, touchedToken, false);
if (touchedWindow == null) {
if (touchedWindow == null || !touchedWindow.canReceiveKeys()) {
return;
}