MultiDisplaySecurityTests: Use absolute location for tap

To focus the EditText of an activity in a virtual display, we should
use absolute coordinates as the arguments of tapOnDisplaySync().
getDrawingRect() always returns the same (0,0)-based relative rectangle.

Test: atest android.server.wm.MultiDisplaySecurityTests#testNoInputConnectionForUntrustedVirtualDisplay
Bug: 168778738

Change-Id: I8f08e2620ba1a9b01cdd0a53e393747033349209
(cherry picked from commit ceb6724a6333fc08fdd0d91181efdb3fba5c2e13)
1 file changed