LOCAL_PATH := device/alcatel/ttab $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) # Device overlay DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay # Device uses high-density artwork where available PRODUCT_AAPT_CONFIG := normal mdpi PRODUCT_AAPT_PREF_CONFIG := mdpi # A list of dpis to select prebuilt apk, in precedence order. PRODUCT_AAPT_PREBUILT_DPI := hdpi mdpi # Boot animation TARGET_SCREEN_HEIGHT := 1280 TARGET_SCREEN_WIDTH := 800 ifeq ($(TARGET_BUILD_VARIANT),eng) PRODUCT_PROPERTY_OVERRIDES += \ ro.secure=0 \ ro.adb.secure=0 \ persist.service.adb.enable=1 \ persist.service.debuggable=1 \ persist.sys.usb.config=adb \ ro.securestorage.support=false endif # no RIL PRODUCT_PROPERTY_OVERRIDES += \ keyguard.no_require_sim=1 \ ro.radio.use-ppp=no \ ro.config.nocheckin=yes \ ro.radio.noril=1 \ ro.carrier=wifi-only \ persist.radio.noril=1 # Permissions PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml \ frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ frameworks/native/data/etc/android.hardware.touchscreen.xml:system/etc/permissions/android.hardware.touchscreen.xml \ frameworks/native/data/etc/android.hardware.touchscreen.multitouch.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.xml \ frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml \ frameworks/native/data/etc/android.software.webview.xml:system/etc/permissions/android.software.webview.xml \ frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ frameworks/native/data/etc/android.hardware.location.xml:system/etc/permissions/android.hardware.location.xml \ frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml # Media PRODUCT_COPY_FILES += \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:system/etc/media_codecs_google_video_le.xml \ $(LOCAL_PATH)/configs/media/media_codecs.xml:system/etc/media_codecs.xml \ $(LOCAL_PATH)/configs/media/media_codecs_mediatek_video.xml:system/etc/media_codecs_mediatek_video.xml \ $(LOCAL_PATH)/configs/media/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \ $(LOCAL_PATH)/configs/media/media_profiles.xml:system/etc/media_profiles.xml # Bluetooth config files PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/bluetooth/bt_did.conf:system/etc/bluetooth/bt_did.conf \ $(LOCAL_PATH)/configs/bluetooth/btconfig.xml:system/etc/bluetooth/btconfig.xml # Wifi config files PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \ $(LOCAL_PATH)/configs/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \ $(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf # Audio policy PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/audio_policy.conf:system/etc/audio_policy.conf # ramdisk PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,$(LOCAL_PATH)/ramdisk,root) # Audio PRODUCT_PACKAGES += \ audio.a2dp.default # Bluetooth PRODUCT_PACKAGES += \ bluetooth.default # Charger # Use cm images if available, aosp ones otherwise PRODUCT_PACKAGES += \ charger_res_images \ cm_charger_res_images \ charger # Power PRODUCT_PACKAGES += \ power.default # Misc PRODUCT_PACKAGES += \ libcurl # network PRODUCT_PACKAGES += \ netd PRODUCT_PACKAGES += \ Camera2 # IPv6 tethering PRODUCT_PACKAGES += \ ebtables \ ethertypes # libxlog PRODUCT_PACKAGES += \ libxlog \ libmtk_symbols \ libstlport \ lights.mt8127 # Wifi PRODUCT_PACKAGES += \ lib_driver_cmd_mt66xx \ libwifi-hal-mt66xx \ wifi_hal \ libwpa_client \ hostapd \ wpa_supplicant PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/hostapd/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \ $(LOCAL_PATH)/configs/hostapd/hostapd.accept:system/etc/hostapd/hostapd.accept \ $(LOCAL_PATH)/configs/hostapd/hostapd.deny:system/etc/hostapd/hostapd.deny # libbt-vendor PRODUCT_PACKAGES += \ libbt-vendor # Get non-open-source specific aspects $(call inherit-product-if-exists, vendor/alcatel/ttab/ttab-vendor.mk)