Files
koreader-mirror/frontend/device
Benoit Pierre cbcb1d9698 android: allow calling Device:hasColorScreen() in a fork (#14628)
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) …
```
2025-11-15 22:54:52 +01:00
..
2024-09-24 16:08:58 +02:00
2024-09-24 16:08:58 +02:00
2022-10-29 22:55:20 +02:00