OSDN Git Service

Fixed stylus eraser being rejected by palm rejection
authorFPtje <fpeijnenburg@gmail.com>
Thu, 4 Aug 2016 01:37:46 +0000 (20:37 -0500)
committerThomas Patry <thompatry@gmail.com>
Fri, 5 Aug 2016 18:41:31 +0000 (13:41 -0500)
commit3b418d69a3e1b3594aec4ad065a47353da407e12
tree40c55e04449edf2f8dd5e57b658e4b9e385cd925
parent542b068e322f90e7e6689daddddc493363d0b549
Fixed stylus eraser being rejected by palm rejection

The stylus eraser appeared not to work, i.e. Android did not respond to
input from the eraser. It turned out that all input except stylus input
is rejected when palm rejection is activated. The problem was that the
eraser itself activates palm rejection when it hovers. The solution is
to allow the eraser during palm rejection. This solution makes sense
because the eraser input works in the exact same way as normal stylus
input.

Change-Id: I9c7451112ce7dbca14a1e1694eedca2d4ed041a1
services/inputflinger/InputReader.cpp