mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Cache the result of `android.isColorScreen()` once and for all (since the result is static). This fix a regression from #14505, where `Device:hasColorScreen()` is called from a fork when the file browser tries to generate covers, resulting in a crash: ``` … F reader.launche: thread.cc:1326] Check failed: FindStackTop() > reinterpret_cast<void*>(tlsPtr_.stack_end) … ```