Upgrade to ndk 0.8, ndk-sys 0.5 + android-activity 0.5 releases

Fixes #2905.
Co-authored-by: Robert Bragg <robert@sixbynine.org>
This commit is contained in:
Marijn Suijten 2023-10-17 02:08:33 +02:00 committed by GitHub
parent 48f6582eb4
commit 9bf4493a21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 11 deletions

View file

@ -555,6 +555,10 @@ pub fn to_logical(key_char: Option<KeyMapChar>, keycode: Keycode) -> Key {
ThumbsUp => Key::Unidentified(native),
ThumbsDown => Key::Unidentified(native),
ProfileSwitch => Key::Unidentified(native),
// It's always possible that new versions of Android could introduce
// key codes we can't know about at compile time.
_ => Key::Unidentified(native),
},
}
}