logind: change the power key to disabled 26/216926/1
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 5 Nov 2019 02:51:19 +0000 (11:51 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Tue, 5 Nov 2019 02:51:19 +0000 (11:51 +0900)
commitf7d55d961b793409870d80ae1aff569d5a2aea33
tree865722006b3fedea308de9b4532870d0d1bccee2
parentb81ae71d93d4a5b80222c189b0a740b386ae0f7c
logind: change the power key to disabled

Tizen does not support power off without deviced.
So, you need to turn off the power key function in logind.

1. Disable TAG+="power-switch" uevent rules because logind uses "power-switch" uevent to recognize the power key.
2. Change default behavior for power key to ignore.

Change-Id: I0523d4cc46ce2edd05e479e9101c6d20f70b4296
src/login/70-power-switch.rules
src/login/logind.conf.in