Add support for Onyx Boox Note Air 5C, Fix Onyx Boox black screen on wake after font size change (#14956)
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
This commit is contained in:
1 parent
01156923de
commit
ba0e6e5838
1 file changed
+1
-1
Submodule platform/android/luajit-launcher updated: b2434073bf...3e149d809a.
Reference in new issue
Block a user