Skip to content

Commit

Permalink
[settings] Do not filter lid sensor with als by default. Fixes JB#44452
Browse files Browse the repository at this point in the history
The "filter lid with als" feature was developed to work around issues
with hall sensor in Jolla tablet. Having it enabled by default means
all devices with properly functioning lid sensor need settings tweaking.

Disable the lid filtering by default (and enable it for Jolla tablet in
tbj specific configuration).

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Jan 23, 2019
1 parent 43f8271 commit 3b13141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tklock.h
Expand Up @@ -94,7 +94,7 @@ enum
* by hall effect sensors confused by unexpected magnetic fields.
*/
# define MCE_SETTING_TK_FILTER_LID_WITH_ALS MCE_SETTING_TK_PATH"/filter_lid_with_als"
# define MCE_DEFAULT_TK_FILTER_LID_WITH_ALS true
# define MCE_DEFAULT_TK_FILTER_LID_WITH_ALS false

/** Maximum amount of light ALS is expected to report when LID is closed */
# define MCE_SETTING_TK_FILTER_LID_ALS_LIMIT MCE_SETTING_TK_PATH"/filter_lid_als_limit"
Expand Down

0 comments on commit 3b13141

Please sign in to comment.