mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Wrap document opening and re-renderings (which can block the app for some time) with setIgnoreInput() to avoid ANR on Android. Any setting update that could possibly cause a re-rendering should send the UpdatePos event, to ensure the re-rendering happens in ReaderRolling:onUpdatePos() where precautions are taken to avoid ANR.