diff --git a/device.mk b/device.mk index b7e09bf2..34567dd4 100644 --- a/device.mk +++ b/device.mk @@ -14,6 +14,25 @@ # limitations under the License. # +# Inherit from the common Open Source product configuration +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony.mk) + +PRODUCT_PROPERTY_OVERRIDES += \ + keyguard.no_require_sim=true \ + ro.com.android.dataroaming=true + +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml + +# Enforce privapp-permissions whitelist +PRODUCT_PROPERTY_OVERRIDES += \ + ro.control_privapp_permissions=enforce + +PRODUCT_PACKAGES += \ + messaging + LOCAL_PATH := device/google/wahoo SRC_MEDIA_HAL_DIR := hardware/qcom/media/msm8998