Fixing flake in PolicyWarningUIControllerTest

Disabling notifications posts a message, so we call #waitForIdleSync() to make sure the change applies.

Test: atest PolicyWarningUIControllerTest
Flag: EXEMPT test fix
Bug: 440955435
Change-Id: I802846fb40361beedf45fde0bb2d313679213b82
1 file changed