Skip to content

Commit

Permalink
Fw_Native - DUI: Fix one handed mode triggering tapjacking protection
Browse files Browse the repository at this point in the history
With overlay apps like Muviz or LMT active, Package Installer refused to
install packages.

Also clean up pointless whitespace from one hand merge

Teamwork with @ezio84 @BeansTown106 @nathanchance @Mazda--

Change-Id: I8ebdd7f5de7c41571c4ece5efa7dcee6bf281afb
  • Loading branch information
Beanstown authored and STELIX committed Feb 21, 2017
1 parent e5824fe commit 2d61ba4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/inputflinger/InputDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1710,8 +1710,7 @@ bool InputDispatcher::isWindowObscuredAtPointLocked(
}
if (otherInfo->displayId == displayId
&& otherInfo->visible && !otherInfo->isTrustedOverlay()
&& (otherInfo->frameContainsPoint(x, y) || otherInfo->overlaps(windowInfo))) {

&& otherInfo->frameContainsPoint(x, y)) {
return true;
}
}
Expand Down

0 comments on commit 2d61ba4

Please sign in to comment.