Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to ignore tklock removal while device lock is active
The tklock status more or less equals "lockscreen is active". And removing tklock switches from lockscreen to home/app view. This is problematic if device unlocking should happen in the context of the lockscreen as power key actions / random tklock request from applications could effectively bypass the device lock. Add configuration setting "devicelock is in lockscreen". While the setting is enabled, mce will not allow removal of tklock while device lock is active. By the default the setting is disabled. Changing the setting should happen via installing configuration file to /etc/mce directory if (and only if) the ui side actually implements device unlocking within lockscreen. The option can also be toggled via mcetool. But since inappropriate use can make the device unlockable from ui, the mcetool option is flagged as dangerous and interactive confirmation is required. [mce] Add option to ignore tklock removal while device lock is active. Fixes JB#26525
- Loading branch information
Showing
4 changed files
with
131 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters