From ff0effbfe1d976eed7e80cc9b688205a9fdf511c Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 3 Oct 2026 22:14:26 -0400 Subject: [PATCH] Count the denoise model in the APK's bundled-model list 96001480 added mosaic-1408.onnx to BUNDLED as a fifteenth entry and left the array's declared length at 14, so the Android build failed and 0.21.0 got no release. The workspace gates never compile the Android crate, which is why nothing before CI saw it. --- apps/darkroom-android/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/darkroom-android/src/lib.rs b/apps/darkroom-android/src/lib.rs index 46dd1bd..55d4aee 100644 --- a/apps/darkroom-android/src/lib.rs +++ b/apps/darkroom-android/src/lib.rs @@ -335,7 +335,7 @@ fn unpack_bundled_models(app: &slint::android::AndroidApp) { // The int8 forms beside the three detectors are what the Hexagon runs // (docs/dev/inference.md ยง5); the engine loads the sibling when the probe // chose that rung and ignores it otherwise. - const BUNDLED: [(&std::ffi::CStr, &str); 14] = [ + const BUNDLED: [(&std::ffi::CStr, &str); 15] = [ (c"models/scrfd_500m_640.onnx", "scrfd_500m_640.onnx"), ( c"models/scrfd_500m_640.int8.onnx",