summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfig.mk28
-rw-r--r--libsensors/exynos_sensors.c14
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml2
3 files changed, 22 insertions, 22 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 70fac36..af1e33e 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -36,20 +36,20 @@ TARGET_RECOVERY_FSTAB := device/samsung/i9300/rootdir/fstab.smdk4x12
RECOVERY_FSTAB_VERSION := 2
# Selinux
-BOARD_SEPOLICY_DIRS += \
- device/samsung/i9300/selinux
-
-BOARD_SEPOLICY_UNION += \
- device.te \
- domain.te \
- file.te \
- file_contexts \
- init.te \
- mediaserver.te \
- rild.te \
- system.te \
- ueventd.te \
- wpa_supplicant.te
+#BOARD_SEPOLICY_DIRS += \
+# device/samsung/i9300/selinux
+#
+#BOARD_SEPOLICY_UNION += \
+# device.te \
+# domain.te \
+# file.te \
+# file_contexts \
+# init.te \
+# mediaserver.te \
+# rild.te \
+# system.te \
+# ueventd.te \
+# wpa_supplicant.te
# assert
TARGET_OTA_ASSERT_DEVICE := m0,i9300,GT-I9300
diff --git a/libsensors/exynos_sensors.c b/libsensors/exynos_sensors.c
index 515b518..36f061b 100644
--- a/libsensors/exynos_sensors.c
+++ b/libsensors/exynos_sensors.c
@@ -42,19 +42,19 @@
struct sensor_t exynos_sensors[] = {
{ "LSM330DLC Acceleration Sensor", "STMicroelectronics", 1, SENSOR_TYPE_ACCELEROMETER,
- SENSOR_TYPE_ACCELEROMETER, 19.61f, 0.0096f, 0.23f, 10000, {}, },
+ SENSOR_TYPE_ACCELEROMETER, 19.61f, 0.0096f, 0.23f, 10000, 0, 0, {}, },
{ "AKM8975 Magnetic Sensor", "Asahi Kasei", 1, SENSOR_TYPE_MAGNETIC_FIELD,
- SENSOR_TYPE_MAGNETIC_FIELD, 2000.0f, 0.06f, 6.8f, 10000, {}, },
+ SENSOR_TYPE_MAGNETIC_FIELD, 2000.0f, 0.06f, 6.8f, 10000, 0, 0, {}, },
{ "Orientation Sensor", "Exynos Sensors", 1, SENSOR_TYPE_ORIENTATION,
- SENSOR_TYPE_ORIENTATION, 360.0f, 0.1f, 0.0f, 10000, {}, },
+ SENSOR_TYPE_ORIENTATION, 360.0f, 0.1f, 0.0f, 10000, 0, 0, {}, },
{ "CM36651 Light Sensor", "Capella", 1, SENSOR_TYPE_LIGHT,
- SENSOR_TYPE_LIGHT, 121240.0f, 1.0f, 0.2f, 0, {}, },
+ SENSOR_TYPE_LIGHT, 121240.0f, 1.0f, 0.2f, 0, 0, 0, {}, },
{ "CM36651 Proximity Sensor", "Capella", 1, SENSOR_TYPE_PROXIMITY,
- SENSOR_TYPE_PROXIMITY, 8.0f, 8.0f, 1.3f, 0, {}, },
+ SENSOR_TYPE_PROXIMITY, 8.0f, 8.0f, 1.3f, 0, 0, 0, {}, },
{ "LSM330DLC Gyroscope Sensor", "STMicroelectronics", 1, SENSOR_TYPE_GYROSCOPE,
- SENSOR_TYPE_GYROSCOPE, 8.73f, 0.00031f, 6.1f, 5000, {}, },
+ SENSOR_TYPE_GYROSCOPE, 8.73f, 0.00031f, 6.1f, 5000, 0, 0, {}, },
{ "LPS331AP Pressure Sensor", "STMicroelectronics", 1, SENSOR_TYPE_PRESSURE,
- SENSOR_TYPE_PRESSURE, 1260.0f, 0.00024f, 0.045f, 40000, {}, },
+ SENSOR_TYPE_PRESSURE, 1260.0f, 0.00024f, 0.045f, 40000, 0, 0, {}, },
};
int exynos_sensors_count = sizeof(exynos_sensors) / sizeof(struct sensor_t);
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index e72d8f9..20fe9bc 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -201,7 +201,7 @@
<bool name="config_disableMenuKeyInLockScreen">true</bool>
<!-- Disable the home key unlock setting -->
- <bool name="config_disableHomeUnlockSetting">false</bool>
+ <!--bool name="config_disableHomeUnlockSetting">false</bool-->
<!-- Workaround for devices with broken keyboards -->
<bool name="config_forceDisableHardwareKeyboard">true</bool>