fix(android): work around broken touchscreen reporting on Mobiscribe Wave (#15273)

Some Android devices (e.g., Mobiscribe Wave) incorrectly report
ACONFIGURATION_TOUCHSCREEN_NOTOUCH despite having a functioning
touchscreen. This prevents touch zone registration in the reader
view, making documents unusable via touch.

Check the new brokenTouchReport quirk from android-luajit-launcher
as a fallback. (#12349)
This commit is contained in:
Daniel Vaughan authored and GitHub committed 2026-10-04 21:08:33 +02:00
1 parent 051b6c29bd
commit 83f443ce4b
1 file changed
+1
+1
View File
@@ -266,6 +266,7 @@ function Device:init()
-- check if we have a touchscreen
if android.lib.AConfiguration_getTouchscreen(android.app.config)
~= C.ACONFIGURATION_TOUCHSCREEN_NOTOUCH
or android.prop.brokenTouchReport
then
self.isTouchDevice = yes
end