ReviewOS

also looking at this

craft-native/craft

feat(android): downloadFile and saveFile in Zig — ratchet 69 → 67

#176
Merged glennmichael123 wants to merge feat/android-files into main
6 files +477 -3
packages/zig/test/android_conformance_test.zigmodified+5-2
Changes to packages/zig/test/android_conformance_test.zig
@@ -54,6 +54,7 @@ const zig_sources = [_][]const u8{
5454 @embedFile("src/bridge_android_widgets.zig"),
5555 @embedFile("src/bridge_android_shortcuts.zig"),
5656 @embedFile("src/bridge_android_screen.zig"),
57 @embedFile("src/bridge_android_files.zig"),
5758};
5859
5960/// How many spec actions Zig does not serve yet.
@@ -81,8 +82,10 @@ const zig_sources = [_][]const u8{
8182/// scheduleNotification, whose delayed half needs a Runnable; 70 with the
8283/// orientation pair, the first to run on the main looper — through a Runnable
8384/// the Kotlin holder owns and a token that says what to do; 69 with
84/// setKeepAwake, whose Kotlin field turns out to be written and never read.
85const max_not_yet_migrated: usize = 69;
85/// setKeepAwake, whose Kotlin field turns out to be written and never read;
86/// 67 with downloadFile and saveFile, neither of which needed the main thread
87/// at all.
88const max_not_yet_migrated: usize = 67;
8689
8790/// Every `@JavascriptInterface fun <name>(` in the Kotlin bridge.
8891///