ReviewOS

also looking at this

craft-native/craft

feat(android): the shortcut pair in Zig — ratchet 75 → 73

#171
Merged chris wants to merge feat/android-shortcuts into main
6 files +602 -3
packages/zig/test/android_conformance_test.zigmodified+5-2
Changes to packages/zig/test/android_conformance_test.zig
@@ -52,6 +52,7 @@ const zig_sources = [_][]const u8{
5252 @embedFile("src/bridge_android_shareditem.zig"),
5353 @embedFile("src/bridge_android_contacts.zig"),
5454 @embedFile("src/bridge_android_widgets.zig"),
55 @embedFile("src/bridge_android_shortcuts.zig"),
5556};
5657
5758/// How many spec actions Zig does not serve yet.
@@ -73,8 +74,10 @@ const zig_sources = [_][]const u8{
7374/// with the database pair, the first to borrow a connection the Kotlin owns;
7475/// 79 with the shared-item trio; 77 with the contacts pair; 75 with the
7576/// widget pair, the first to take a constant across from the Kotlin because
76/// deriving it here would be silently wrong under an applicationIdSuffix.
77const max_not_yet_migrated: usize = 75;
77/// deriving it here would be silently wrong under an applicationIdSuffix; 73
78/// with the shortcut pair, whose two halves disagree about what to do below
79/// API 25 and are ported disagreeing.
80const max_not_yet_migrated: usize = 73;
7881
7982/// Every `@JavascriptInterface fun <name>(` in the Kotlin bridge.
8083///