- ndk/hardware_buffer: Make
HardwareBuffer::as_ptr()
public for interop with Vulkan. - Breaking:
Configuration::country()
now returnsNone
when the country is unset (akin toConfiguration::language()
) - Add
MediaCodec
andMediaFormat
bindings. (#216) - Breaking: Upgrade to
ndk-sys 0.4.0
and use newenum
newtype wrappers. (#245) - ndk/native_window: Use
release
/acquire
forDrop
andClone
respectively. (#207)
- Breaking: Upgrade to
ndk-sys 0.3.0
and migrate tojni-sys
types that it now directly uses in its bindings. (#209 / #214)
- Breaking: Replace
add_fd_with_callback
ident
with constant valueALOOPER_POLL_CALLBACK
, as per https://developer.android.com/ndk/reference/group/looper#alooper_addfd. - Breaking: Accept unboxed closure in
add_fd_with_callback
. - ndk/aaudio: Replace "Added in" comments with missing
#[cfg(feature)]
- ndk/aaudio: Add missing
fn get_allowed_capture_policy()
- ndk/configuration: Add missing
api-level-30
feature tofn screen_round()
- Breaking: Model looper file descriptor events integer as
bitflags
.
- Breaking: Looper
ident
not passed indata
pointer anymore.attach_looper
now only sets theident
field when attaching anInputQueue
to aForeignLooper
. If you are relying onPoll::Event::data
to tell event fd and input queue apart, please usePoll::Event::ident
and the new constants introduced inndk-glue
!
- Fix documentation build on docs.rs
- Breaking: Updated to use ndk-sys 0.2.0
- Added
media
bindings - Added
bitmap
andhardware_buffer
bindings - Added
aaudio
bindings - Fixed assets directory path to be relative to the manifest
- Added
trace
feature for native tracing
- Initial release! 🎉