1198676effe7d9d3832a6ce84208326f90715947

This does not work with xiaomi's original display driver,
since partial reads from it are broken and it rejects all
reads whose size is insufficient to get the whole response.
However, the size is not known in prior, so we actually
want to read the header first to determine the actual size
and continue reading then. This requires a kernel side fix
like [1].
To make this work with the stock kernel driver instead,
adjust the parseDispEvent method to read with a larger
buffer directly and decrease the size of the data
according to the header later.
[1]: b80cb5a028
Change-Id: Id8f9ac8ef32462dd00832af12ff60a3610103e2a
Description
No description provided
Languages
C++
83.1%
C
11.4%
Shell
2.6%
Makefile
1.9%
M4
0.6%
Other
0.4%