diff --git a/aosp_common.mk b/aosp_common.mk index 5ba98821..d4d8d94a 100644 --- a/aosp_common.mk +++ b/aosp_common.mk @@ -53,3 +53,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk) # TODO: fix # PRODUCT_RESTRICT_VENDOR_FILES := all + +# Exclude features that are not available on AOSP devices. +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml \ No newline at end of file diff --git a/gnss/47765/config/gps.xml b/gnss/47765/config/gps.xml index 40dcd36f..8fb7c66e 100644 --- a/gnss/47765/config/gps.xml +++ b/gnss/47765/config/gps.xml @@ -87,6 +87,7 @@ EnableOnChipStopNotification="2" PowerMode="3" MinGpsWeekNumber="2216" + OnChipAccMask="50" />