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

Skip to content
Commit 895e4562 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Offer to filter broadcasts based on CompatChanges.

As we evolve broadcasts over time, it's desirable to adjust how
they're delivered to legacy apps.  Using target SDK checks is one
way to implement this, but it's not very flexible as large
developers adjust to new beta releases.  Instead, the platform
best-practices are to use CompatChanges which can easily be
enabled/disabled on a per-app basis to aid debugging and triage.

Thus this change brings CompatChanges-based filtering to
BroadcastOptions, along with tests to verify it's behavior.

Bug: 209888056
Test: atest CtsAppTestCases:BroadcastOptionsTest
Change-Id: Id922d935db54e43ec37783cca612f09049999fab
parent 3f265b79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment