Add gps.xml for M23

Add gps.xml and build rules for M23 project

Bug: 229177458
Test: build pass
Change-Id: Ie3dbd1e598db4a38d3301bdd319e24c9e651cecc
This commit is contained in:
Joe Huang 2022-04-14 14:55:33 +08:00
parent bc33412014
commit 45a71e3d3c
3 changed files with 198 additions and 0 deletions

View file

@ -232,3 +232,12 @@ PRODUCT_PRODUCT_PROPERTIES += \
# Hinge angle sensor
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hinge_angle.xml
# Location
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/felix/location/gps.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/felix/location/gps_user.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif