# 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.

`https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssues` contains a complete list of all known issues with documentation and sample usage with a suggested workaround for each issue.

Use `https://developer.android.com/reference/androidx/core/backported/fixes/BackportedFixManager` to test if a `https://developer.android.com/reference/androidx/core/backported/fixes/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 `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssues#KI_350037023()` for a test-only example known issue.

## Interfaces

|---|---|
| `https://developer.android.com/reference/androidx/core/backported/fixes/StatusResolver` | Resolves the `https://developer.android.com/reference/androidx/core/backported/fixes/Status` of a `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssue` on a device. |

## Classes

|---|---|
| `https://developer.android.com/reference/androidx/core/backported/fixes/BackportedFixManager` | Reports if a Known Issue is fixed on a device. |
| `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssue` | A known issue is a public issue from the [Google Issue Tracker](https://issuetracker.google.com) which has a fix that might be backported to released devices, instead of only in the next Android release. |
| `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssues` | List of all known issues reportable by `https://developer.android.com/reference/androidx/core/backported/fixes/BackportedFixManager`. |

## Enums

|---|---|
| `https://developer.android.com/reference/androidx/core/backported/fixes/Status` | Status of a `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssue` on a device. |