ReviewOS

also looking at this

craft-native/craft

feat(android): setKeepAwake through the trampoline — ratchet 70 → 69

#174
Merged glennmichael123 wants to merge feat/android-keep-awake into main
7 files +140 -13
packages/zig/test/android_conformance_test.zigmodified+4-3
Changes to packages/zig/test/android_conformance_test.zig
@@ -53,7 +53,7 @@ const zig_sources = [_][]const u8{
5353 @embedFile("src/bridge_android_contacts.zig"),
5454 @embedFile("src/bridge_android_widgets.zig"),
5555 @embedFile("src/bridge_android_shortcuts.zig"),
56 @embedFile("src/bridge_android_orientation.zig"),
56 @embedFile("src/bridge_android_screen.zig"),
5757};
5858
5959/// How many spec actions Zig does not serve yet.
@@ -80,8 +80,9 @@ const zig_sources = [_][]const u8{
8080/// API 25 and are ported disagreeing; 72 with the immediate half of
8181/// scheduleNotification, whose delayed half needs a Runnable; 70 with the
8282/// orientation pair, the first to run on the main looper — through a Runnable
83/// the Kotlin holder owns and a token that says what to do.
84const max_not_yet_migrated: usize = 70;
83/// 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;
8586
8687/// Every `@JavascriptInterface fun <name>(` in the Kotlin bridge.
8788///