Skip to content

Adopt CameraX Feature Groups API in JCA #457

@Zeronfinity

Description

@Zeronfinity

Description

This issue proposes the adoption of the new CameraX Feature Groups API in the Jetpack Camera App (JCA). This API provides a reliable way to query for feature combination support, which will allow us to address existing bugs and enable more advanced features on supported devices.

Problem Statement

Currently, JCA has limitations when handling multiple camera features simultaneously. This results in:

  • Bugs and crashes: Certain feature combinations, like HDR and 60 FPS, can lead to camera session failures on unsupported devices (as reported in Camera session failure with HDR + 60 FPS #454).
  • Limited functionality: To avoid these issues, some advanced features are disabled by default, even on devices that could support them.

Proposed Solution

By integrating the Feature Groups API, we can:

  • Dynamically check the hardware capabilities of a device for specific feature combinations.
  • Build a more intelligent UI that only exposes supported feature options to the user.
  • Prevent crashes by avoiding the use of unsupported feature configurations.

This will lead to a more stable and feature-rich camera application.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions