Merge changes from topic "ndk-rust-nullables" am: fe441bf63e am: 056745276e

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1860255

Change-Id: I79fadccf9422de27e72931bcdbd67f2eeca7bc0a