Merge "Add defer-until-active policy to DREAMING related broadcasts."
This commit is contained in:
committed by
Android (Google) Code Review
commit
b0faa0f885
@@ -119,6 +119,8 @@ final class DreamController {
|
||||
// are yet to be delivered.
|
||||
options.setDeliveryGroupMatchingKey(
|
||||
DREAMING_DELIVERY_GROUP_NAMESPACE, DREAMING_DELIVERY_GROUP_KEY);
|
||||
// This allows the broadcast delivery to be delayed to apps in the Cached state.
|
||||
options.setDeferUntilActive(true);
|
||||
return options.toBundle();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user