-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disable/enable sensors with respect to targets.
removing accelerometer and gyroscope sensors permission for base_aaos targets.Removing bsp_diff changes and merging it directly to repo projects. Tracked-On: OAM-124722 Signed-off-by: Rajani Ranjan <[email protected]>
- Loading branch information
1 parent
eade2d1
commit 86a1fdd
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,25 @@ PRODUCT_PACKAGES += \ | |
[email protected] | ||
|
||
{{#enable_sensor_list}} | ||
ifeq ($(TARGET_PRODUCT), caas) | ||
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 \ | ||
frameworks/native/data/etc/android.hardware.sensor.gyroscope_limited_axes.xml:vendor/etc/permissions/android.hardware.sensor.gyroscope_limited_axes.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.accelerometer_limited_axes.xml:vendor/etc/permissions/android.hardware.sensor.accelerometer_limited_axes.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.accelerometer_limited_axes_uncalibrated.xml:vendor/etc/permissions/android.hardware.sensor.accelerometer_limited_axes_uncalibrated.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.gyroscope_limited_axes_uncalibrated.xml:vendor/etc/permissions/android.hardware.sensor.gyroscope_limited_axes_uncalibrated.xml | ||
|
||
else ifeq ($(TARGET_PRODUCT), aaos_iasw) | ||
PRODUCT_COPY_FILES += \ | ||
frameworks/native/data/etc/android.hardware.location.gps.xml:vendor/etc/permissions/android.hardware.location.gps.xml | ||
else | ||
PRODUCT_COPY_FILES += \ | ||
frameworks/native/data/etc/android.hardware.sensor.light.xml:vendor/etc/permissions/android.hardware.sensor.light.xml | ||
endif | ||
|
||
AUTO_IN += $(TARGET_DEVICE_DIR)/{{_extra_dir}}/auto_hal.in | ||
{{/enable_sensor_list}} |