androidx.core.backported.fixes
The Core Backported Fixes library lets you check if a critical bug fix has been applied to a device. This is useful because it can take a long time for bug fixes to be rolled out to all devices, and this API provides a way for you to know when it is safe to use features that depend on a fix.
KnownIssues
contains a complete list of all known issues with documentation and sample usage with a suggested workaround for each issue.
Use BackportedFixManager
to test if a KnownIssue
is fixed on a device:
val fixManager = BackportedFixManager()
if (fixManager.isFixed(KnownIssues.KI_1234)) {
Offer_experience_that_needs_fix()
} else {
Offer_experience_that_avoids_the_bug()
}
See KnownIssues.KI_350037023
for a test-only example known issue.
Interfaces
StatusResolver |
Resolves the |
Classes
BackportedFixManager |
Reports if a Known Issue is fixed on a device. |
KnownIssue |
A known issue is a public issue from the Google Issue Tracker which has a fix that might be backported to released devices, instead of only in the next Android release. |
KnownIssues |
List of all known issues reportable by |
Enums
Status |
Status of a |