Ensure Wakelock display group is still valid.

If a wakelock is obtained for a particular display group and then that
display group is removed then the wakelock should be ignored.

Bug: 186666967
Test: atest PowerManagerServiceTest#testRemovedDisplayGroupWakeLock_affectsNoDisplayGroups
Change-Id: Id191fdd9bad924455e29394f8139ab3b2881f34a
2 files changed