Update the new SYSTEM_ALERT_WINDOW check for FGS.

Correctly check if any processes within the calling uid is displaying
an overlay window in addition to holding the permission.

Bug: 296558535
Test: atest CtsAppTestCases
Change-Id: I1716d2e08c86e4ce3a3055f9c85ad083989184f7
1 file changed