Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndk/bitmap: Gate BitmapCompressError behind api-level-30 #462

Merged
merged 4 commits into from
Jan 27, 2024

Conversation

Rodrigodd
Copy link
Contributor

Otherwise there is a compilation error when building with only the feature bitmap, due to the inexistence of the DataSpace type. DataSpace is defined with api-level-28, but this BitmapCompressError is only used by Bitmap::compress() and Bitmap::compress_raw(), which are only available with api-level-30.

@MarijnS95
Copy link
Member

Well that is fair even though this will all be deleted again soon. We cannot merge, yank, and re-release this without a changelog entry though.

…pressError`

Otherwise there is a compilation error when building with only the
feature `bitmap`, due to the inexistence of the `DataSpace` type.
`DataSpace` is defined with `api-level-28`, but this type is only used
by `Bitmap::compress()` and `Bitmap::compress_raw()`, which are only
available with `api-level-30`.
@Rodrigodd
Copy link
Contributor Author

@MarijnS95 Added a changelog entry.

@MarijnS95 MarijnS95 merged commit a4b2e50 into rust-mobile:master Jan 27, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants