Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable light service and sensor service #1128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions caas/BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -644,10 +644,4 @@ BOARD_SEPOLICY_DIRS += $(INTEL_PATH_SEPOLICY)/dbc
# Source: device/intel/mixins/groups/aaf/true/BoardConfig.mk
##############################################################
BOARD_SEPOLICY_DIRS += $(INTEL_PATH_SEPOLICY)/aafd
##############################################################
# Source: device/intel/mixins/groups/sensors/mediation/BoardConfig.mk
##############################################################
USE_SENSOR_MEDIATION_HAL := true

BOARD_SEPOLICY_DIRS += $(INTEL_PATH_SEPOLICY)/sensors/mediation
# ------------------ END MIX-IN DEFINITIONS ------------------
30 changes: 0 additions & 30 deletions caas/device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -632,15 +632,6 @@ PRODUCT_PACKAGES += crashlogd \
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.service.default_logfs=apklogfs
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += persist.logd.logpersistd.size=100
endif
##############################################################
# Source: device/intel/mixins/groups/lights/true/product.mk
##############################################################
# Lights HAL
BOARD_SEPOLICY_DIRS += \
$(INTEL_PATH_SEPOLICY)/light

PRODUCT_PACKAGES += lights.$(TARGET_BOARD_PLATFORM) \
android.hardware.lights-service.example

##############################################################
# Source: device/intel/mixins/groups/power/true/product.mk
Expand Down Expand Up @@ -762,27 +753,6 @@ $(call inherit-product,device/intel/common/firmware.mk)
##############################################################
PRODUCT_PACKAGES += \
auto_detection.sh
##############################################################
# Source: device/intel/mixins/groups/sensors/mediation/product.mk
##############################################################
ifeq ($(TARGET_BOARD_PLATFORM),)
$(error Please define TARGET_BOARD_PLATFORM in product-level Makefile)
endif

# Sensors HAL modules
PRODUCT_PACKAGES += \
sensors.$(TARGET_BOARD_PLATFORM)

PRODUCT_PACKAGES += \
[email protected] \
[email protected]

PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.ambient_temperature.xml:vendor/etc/permissions/android.hardware.sensor.ambient_temperature.xml \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:vendor/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:vendor/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/native/data/etc/android.hardware.sensor.compass.xml:vendor/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:vendor/etc/permissions/android.hardware.sensor.light.xml

##############################################################
# Source: device/intel/mixins/groups/mainline-mod/true/product.mk
Expand Down
4 changes: 2 additions & 2 deletions caas/mixins.spec
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ flashfiles: ini(fast_flashfiles=false, oemvars=false,installer=true,flash_dnx_os
net: common
debug-crashlogd: true
debug-coredump: false
lights: true
lights: false
power: true(power_throttle=true)
debug-usb-config: true(source_dev=dvcith-0-msc0)
intel_prop: true
Expand Down Expand Up @@ -85,6 +85,6 @@ atrace: true
firmware: true(all_firmwares=false)
aaf: true
suspend: auto
sensors: mediation
sensors: false
bugreport: true
mainline-mod: true
5 changes: 0 additions & 5 deletions caas/ueventd.rc
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@
##############################################################
# rfkill node
/dev/rfkill 0660 bluetooth system
##############################################################
# Source: device/intel/mixins/groups/lights/true/ueventd.rc
##############################################################
# i915 backlight driver
/sys/devices/pci0000:00/0000:00:02.0/drm/card*/card*/intel_backlight brightness 0644 system system

##############################################################
# Source: device/intel/mixins/groups/power/true/ueventd.rc
Expand Down