Prevent the PopupWindow from overlapping with the status bar

If the status bar height is large, the coordinate of touch events
in PopupWindowTest#testSetTouchInterceptor() might be located on
the status bar.
In that case, this test fails because SecurityException is thrown.
The reason of SecurityException is "Injecting to another application
requires INJECT_EVENTS permission".

Change-Id: I794f6381f110f35381f64c16a118b75373b68516
1 file changed