Fix CTS testKeyguardLockAndUnlock fail

WindowManager failed to find the keyguard window because
cmd is injected by shell command and the shell command
only take current window as the event window. But
topDisplayFocusedStack changes when window focus changed.
Fix is to send a tap event to default display
to ensure focus switch to default display

Test: run CtsKeystoreTestCases testKeyguardLockAndUnlock

bug: 172972737

[RESTRICT AUTOMERGE]
Signed-off-by: wznqmp <sajjad.mosharraf@gm.com>
Change-Id: Ia988e4b434e8b5867b079fe7b9ff7cd14699b606
1 file changed