diff options
author | Bruno Martins <bgcngm@gmail.com> | 2019-05-10 21:25:31 +0200 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2019-05-10 23:26:10 +0200 |
commit | c3d328b6be521feff20f9d10f755716d4d639cc7 (patch) | |
tree | e4ff8fa2805d9349181c7cdf976f2ed5f3e01e77 /sepolicy/file_contexts | |
parent | e95cf897590b5ab6b25ac286e8baf6eaec9dd297 (diff) |
msm8996-common: pocketmode: Allow control over PocketMode service
* Once the service is running, proximity sensor is constantly active
when the display is turned off, resulting into a residual increase
in battery consumption. Add a toggle so that users can decide whether
they accept that and prefer to prevent accidental wake-ups triggered
by the fingerprint sensor.
* Keep the receiver that listens for the screen status registered only
if the fingerprint wake-up feature is enabled at the same time as
the accidental wake-up prevention feature.
* Set PocketMode as a required module of ConfigPanel, to make sure
it is only shipped on devices building the latter.
* The configpanel part is integrated in b07a633bdeda835867aa3dc5a033529d7bd712dc
Change-Id: Icfa23d2aef971e368476b6f1f7612493c2b69a20
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r-- | sepolicy/file_contexts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 429d4c4..37c5fe6 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -21,6 +21,7 @@ # Sys files /sys/devices/soc/soc:fpc1020(/.*)? u:object_r:sysfs_fingerprint:s0 +/sys/devices/soc/soc:fpc1020/enable_wakeup u:object_r:sysfs_fingerprint:s0 /sys/devices/soc/soc:fpc1020/proximity_state u:object_r:sysfs_fingerprint:s0 /sys/devices/soc/soc:fpc1020/irq u:object_r:sysfs_fingerprint:s0 /sys/devices/soc/soc:fpc1020/utouch_disable u:object_r:sysfs_fingerprint:s0 |