Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5845342 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 26772 into eclair

* changes:
  Fixes the issue about fasttrack window not being dismissed on tapping just outside it.
parents 064a0a81 7790880e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1175,6 +1175,8 @@ public class FastTrackWindow implements Window.Callback,
        if (event.getAction() == MotionEvent.ACTION_DOWN) {
            // Only try detecting outside events on down-press
            mDecor.getHitRect(mRect);
	    mRect.top = mRect.top + mDecor.getPaddingTop();
	    mRect.bottom = mRect.bottom - mDecor.getPaddingBottom();
            final int x = (int)event.getX();
            final int y = (int)event.getY();
            if (!mRect.contains(x, y)) {