From ba0e6e583822bee22ed9e50316f9a7e6ba45ef87 Mon Sep 17 00:00:00 2001 From: "Min S. Kim" Date: Mon, 9 Feb 2026 12:35:41 -0800 Subject: [PATCH] Add support for Onyx Boox Note Air 5C, Fix Onyx Boox black screen on wake after font size change (#14956) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On some Onyx Boox devices, the SurfaceView surface is not recreated after the rapid activity cycling that the Boox system performs on wake, leaving android.app.window permanently nil. This caused a black screen after font size change + sleep + wake. The SurfaceView with setZOrderOnTop(true) was introduced for NGL4/Tolino devices. The Onyx Qualcomm EPD API (View.refreshScreen) does not require a SurfaceView — einkUpdate() already falls back to the DecorView content view when no SurfaceView exists. Setting OnyxEPDController.needsView()=false makes Onyx devices use NativeActivity's default DecorView surface, which follows the standard activity lifecycle and correctly survives wake. Fixes #12445 --- platform/android/luajit-launcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/android/luajit-launcher b/platform/android/luajit-launcher index b2434073b..3e149d809 160000 --- a/platform/android/luajit-launcher +++ b/platform/android/luajit-launcher @@ -1 +1 @@ -Subproject commit b2434073bf4c1383d46de6b423406f38d61ccfb0 +Subproject commit 3e149d809aa5d63f4a6a76ffb98e0c71961f6de0