Skip to content

Commit

Permalink
Disable light service and sensor service
Browse files Browse the repository at this point in the history
Tracked-On: OAM-95546
Signed-off-by: rnaidu <[email protected]>
  • Loading branch information
vramyanaidu committed Dec 30, 2020
1 parent eb18595 commit 8cc7c8d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 43 deletions.
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

0 comments on commit 8cc7c8d

Please sign in to comment.