Skip to content

HttpEngine should use RequiresExtension #1262

Closed
@yschimke

Description

@yschimke

HttpEngine is marked as @RequiresApi(34)

But HttpEngine is based on extension versions

@RequiresExtension(extension = Build.VERSION_CODES.S, version = 7)

In practice trying to configure HttpEngine and pass it to HttpEngineDataSource, Android Studio wanted me to add both.

Should HttpEngineDataSource be changed to use RequiresExtension, so that it works on API 31 devices that have received the latest mainline versions?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions