Commit Graph

3 Commits

Author SHA1 Message Date
LuK1337 c6fe0a637d Revert "sm8150-common: KeyHandler: handle camera motor key events"
This reverts commit 791f89485c.
2019-07-05 15:59:52 +02:00
Peter Cai 791f89485c
sm8150-common: KeyHandler: handle camera motor key events
* When the camera motor gets forced down, a KEY_F14 down/up sequence is
sent to userspace. We use this information to show a warning dialog to
the user and also stop any foreground app.
* For op7, which has no motorized camera whatsoever, this makes no
difference. It is not very convenient to have two separate KeyHandlers,
so let's just put them all in one place.
2019-07-05 19:38:18 +08:00
Peter Cai d846ff88d4
guacamole: kang tri-state-key handler from sdm845-common 2019-06-21 14:45:55 +08:00