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
Loading
Please register or sign in to comment