Skip to content

Commit

Permalink
fajita: Adapt to StatiXOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
itz63c committed Nov 18, 2020
1 parent b965f23 commit f4d3295
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 32 deletions.
7 changes: 1 addition & 6 deletions AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,4 @@
#

PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_fajita.mk

COMMON_LUNCH_CHOICES := \
lineage_fajita-user \
lineage_fajita-userdebug \
lineage_fajita-eng
$(LOCAL_DIR)/statix_fajita.mk
3 changes: 0 additions & 3 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,5 @@ TARGET_SURFACEFLINGER_FOD_LIB := //$(DEVICE_PATH):libfod_extension.oneplus_fajit
# HIDL
DEVICE_FRAMEWORK_MANIFEST_FILE += $(DEVICE_PATH)/framework_manifest.xml

# Kernel
TARGET_KERNEL_CONFIG := enchilada_defconfig

# inherit from the proprietary version
-include vendor/oneplus/fajita/BoardConfigVendor.mk
10 changes: 1 addition & 9 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,12 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage

# Permissions
PRODUCT_COPY_FILES += \
vendor/lineage/config/permissions/vendor.lineage.biometrics.fingerprint.inscreen.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/vendor.lineage.biometrics.fingerprint.inscreen.xml
$(LOCAL_PATH)/overlay-custom

# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi

# Boot animation
TARGET_SCREEN_HEIGHT := 2340
TARGET_SCREEN_WIDTH := 1080

# Fingerprint
PRODUCT_PACKAGES += \
[email protected]_fajita \
Expand Down
10 changes: 0 additions & 10 deletions lineage.dependencies

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
2 = left side
3 = right side
-->
<integer name="config_fingerprintSensorLocation">1</integer>
<integer name="config_fingerprintSensorLocation">3</integer>
</resources>
7 changes: 4 additions & 3 deletions lineage_fajita.mk → statix_fajita.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit from fajita device
$(call inherit-product, device/oneplus/fajita/device.mk)

# Inherit some common Lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Inherit some common StatiXOS stuff.
$(call inherit-product, vendor/statix/config/common.mk)
$(call inherit-product, vendor/statix/config/gsm.mk)

PRODUCT_NAME := lineage_fajita
PRODUCT_NAME := statix_fajita
PRODUCT_DEVICE := fajita
PRODUCT_MANUFACTURER := OnePlus
PRODUCT_BRAND := OnePlus
Expand Down

0 comments on commit f4d3295

Please sign in to comment.