# KnownIssues

Artifact: [androidx.core:core-backported-fixes](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/backported/fixes/KnownIssues.kt+class:androidx.core.backported.fixes.KnownIssues) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core#1.0.0)

*** ** * ** ***


```
public sealed class KnownIssues
```

<br />

*** ** * ** ***

List of all known issues reportable by `https://developer.android.com/reference/androidx/core/backported/fixes/BackportedFixManager`.

These are critical issues with fixes that are backported to existing android releases and are reasonable for app developers to guard a code block with \[\]BackportedFixManager.isFixed\].

Each known issue includes sample usage.

The `id` and `alias` of a known issue comes from the list of approved backported fixes in the Android Compatibility Test source directory [cts/backported_fixes/approved](https://cs.android.com/android/platform/superproject/+/android-latest-release:cts/backported_fixes/approved/).

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssue` | `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssues#KI_350037023()` **TEST ONLY** known issue that is always fixed on a device. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssue` | `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssues#KI_350037348()` **TEST ONLY** known issue that is never fixed on a device. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssue` | `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssues#KI_372917199()` **TEST ONLY** known issue that only applies to robolectric devices |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssue` | `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssues#KI_398591036()` Abnormal color tone when capturing `JPEG-R` images on some Pixel devices. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssue` | `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssues#KI_452390376()` Auto Exposure Mode Low Light Boost (LLB) mode [CONTROL_AE_MODE_ON_LOW_LIGHT_BOOST_BRIGHTNESS_PRIORITY](https://developer.android.com/reference/android/hardware/camera2/CameraMetadata.html#CONTROL_AE_MODE_ON_LOW_LIGHT_BOOST_BRIGHTNESS_PRIORITY) cannot be enabled for stream use cases such as VIDEO_CALL on Pixel 10 devices. |

| ### Protected constructors |
|---|
| `https://developer.android.com/reference/androidx/core/backported/fixes/KnownIssues#KnownIssues()()` |

## Public fields

### KI_350037023

```
public static final @NonNull KnownIssue KI_350037023
```

**TEST ONLY** known issue that is always fixed on a device.

```kotlin
import androidx.core.backported.fixes.BackportedFixManager
import androidx.core.backported.fixes.KnownIssues

val bf = BackportedFixManager()
if (bf.isFixed(KnownIssues.KI_350037023)) {
    println("Hello world")
} else {
    // Since the known issue is not fixed
    println("Goodbye")
}
```

### KI_350037348

```
public static final @NonNull KnownIssue KI_350037348
```

**TEST ONLY** known issue that is never fixed on a device.

```kotlin
import androidx.core.backported.fixes.BackportedFixManager
import androidx.core.backported.fixes.KnownIssues

val bf = BackportedFixManager()
if (bf.isFixed(KnownIssues.KI_350037348)) {
    println("Hello world")
} else {
    // Since the known issue is not fixed
    println("Goodbye")
}
```

### KI_372917199

```
public static final @NonNull KnownIssue KI_372917199
```

**TEST ONLY** known issue that only applies to robolectric devices

```kotlin
import androidx.core.backported.fixes.BackportedFixManager
import androidx.core.backported.fixes.KnownIssues

val bf = BackportedFixManager()
if (bf.isFixed(KnownIssues.KI_372917199)) {
    println("Hello world")
} else {
    // Since the known issue is not fixed
    println("Goodbye")
}
```

### KI_398591036

```
public static final @NonNull KnownIssue KI_398591036
```

Abnormal color tone when capturing `JPEG-R` images on some Pixel devices.

Fix by using `JPEG` outputs until this KI is resolved.

```kotlin
import androidx.core.backported.fixes.BackportedFixManager
import androidx.core.backported.fixes.KnownIssues

val bf = BackportedFixManager()
val format =
    if (bf.isFixed(KnownIssues.KI_398591036)) {
        "JPEG-R"
    } else {
        "JPEG"
    }
```

Full details are at [issue #398591036](https://issuetracker.google.com/issues/398591036).

### KI_452390376

```
public static final @NonNull KnownIssue KI_452390376
```

Auto Exposure Mode Low Light Boost (LLB) mode [CONTROL_AE_MODE_ON_LOW_LIGHT_BOOST_BRIGHTNESS_PRIORITY](https://developer.android.com/reference/android/hardware/camera2/CameraMetadata.html#CONTROL_AE_MODE_ON_LOW_LIGHT_BOOST_BRIGHTNESS_PRIORITY) cannot be enabled for stream use cases such as VIDEO_CALL on Pixel 10 devices.

Use [CONTROL_AE_MODE_ON](https://developer.android.com/reference/android/hardware/camera2/CameraMetadata.html#CONTROL_AE_MODE_ON) until this issue is resolved.

```kotlin
import androidx.core.backported.fixes.BackportedFixManager
import androidx.core.backported.fixes.KnownIssues

fun createPreviewRequest(
    cameraDevice: CameraDevice,
    enableLowLightBoost: Boolean,
): CaptureRequest.Builder {
    val bf = BackportedFixManager()
    val aeMode =
        if (
            Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM &&
                bf.isFixed(KnownIssues.KI_452390376) &&
                enableLowLightBoost
        ) {
            CameraMetadata.CONTROL_AE_MODE_ON_LOW_LIGHT_BOOST_BRIGHTNESS_PRIORITY
        } else {
            CameraMetadata.CONTROL_AE_MODE_ON
        }
    // Camera capture request setup:
    val previewRequestBuilder = cameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW)
    previewRequestBuilder[CaptureRequest.CONTROL_AE_MODE] = aeMode
    return previewRequestBuilder
}
```

Full details are at [issue #452390376](https://issuetracker.google.com/issues/452390376).

## Protected constructors

### KnownIssues

```
protected KnownIssues()
```