aboutsummaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-03-04 03:48:25 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-03-29 19:44:18 +0200
commit491824c82435b9e22aa95da3e8a554956e3d74b6 (patch)
treecf3ba3fadbdc8e8689c7af77a64c73e804b44a0c /libsensors
parentd7911aa4d4f13863ae26e6d8f485cf0e106e3167 (diff)
downloaddevice_samsung_espressowifi-491824c82435b9e22aa95da3e8a554956e3d74b6.zip
device_samsung_espressowifi-491824c82435b9e22aa95da3e8a554956e3d74b6.tar.gz
device_samsung_espressowifi-491824c82435b9e22aa95da3e8a554956e3d74b6.tar.bz2
libsensors: fix selinux denials
Moved geomagneticd calibration data to /data/sensors to allow relabeling it. Change-Id: Ibe596b5903aa309f862a568b9876e79acaff5d19
Diffstat (limited to 'libsensors')
-rw-r--r--libsensors/geomagneticd/geomagneticd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsensors/geomagneticd/geomagneticd.h b/libsensors/geomagneticd/geomagneticd.h
index 72afbc4..71f9dcb 100644
--- a/libsensors/geomagneticd/geomagneticd.h
+++ b/libsensors/geomagneticd/geomagneticd.h
@@ -27,8 +27,8 @@
#ifndef _GEOMAGNETICD_H_
#define _GEOMAGNETICD_H_
-#define GEOMAGNETICD_CONFIG_PATH "/data/system/yas.cfg"
-#define GEOMAGNETICD_CONFIG_BACKUP_PATH "/data/system/yas-backup.cfg"
+#define GEOMAGNETICD_CONFIG_PATH "/data/sensors/yas.cfg"
+#define GEOMAGNETICD_CONFIG_BACKUP_PATH "/data/sensors/yas-backup.cfg"
struct geomagneticd_data {
int magnetic_extrema[2][3];