Add defer-until-active policy to DREAMING related broadcasts.

Applying this poicy allows deferring the broadcast delivery to apps
in the Cached state.

Bug: 255526731
Test: atest ./tests/tests/dreams/src/android/service/dreams/cts/DreamServiceTest.java
Test: atest tests/app/BroadcastsTest/src/android/app/cts/broadcasts/BroadcastDeferralTest.java
Change-Id: I2dd983751356a2fde98ea8d628a06151c46697c4
1 file changed