Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0faa0f8 authored by Sudheer Shanka's avatar Sudheer Shanka Committed by Android (Google) Code Review
Browse files

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

parents 957b3ba1 b7b8f812
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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();
    }