Skip to content

raise minimum supported version to API 23 #2188

@DanAlbert

Description

@DanAlbert

Description

androidx did this back in August (androidx/androidx@d4e5100). I don't want to make this change in an LTS, which means we can't do this until r31 at the earliest. By that point most users will have migrated anyway. The Studio New Project Wizard (with data from April) says that only 0.6% of devices are running APIs 21 and 22.

Binary size will drop some for anyone following our minimums because API 23 was the first to support GNU hashes, so the linker won't need to include both SysV and GNU hashes any more. It looks like Clang also disables FMV for aarch64 for API levels below 23, though I don't know why. Some form of relocation packing will also be available by default. I can't tell if any of our tools actually do that though. @enh-google I think has a pile of libc/libm cleanups he wants to make as well.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions