RM6785: Rearrange product makefile a bit
Change-Id: I609cf28fda772d3b39c4fa60b1ea8ddc8d97482a
diff --git a/device.mk b/device.mk
index 149e909..1b0736f 100644
--- a/device.mk
+++ b/device.mk
@@ -150,10 +150,6 @@
PRODUCT_PACKAGES += \
android.hardware.neuralnetworks@1.3.vendor
-# Textclassifier
-PRODUCT_PACKAGES += \
- libtextclassifier_hash.vendor
-
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc@1.2-service \
@@ -173,10 +169,6 @@
FrameworksOverlayRMX2151 \
FrameworksOverlayRMX2161
-# Properties
-include $(LOCAL_PATH)/vendor_prop.mk
-PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
-
# RRO (Runtime Resource Overlay)
PRODUCT_ENFORCE_RRO_TARGETS += *
@@ -235,7 +227,7 @@
$(LOCAL_PATH)/configs/power/powerscntbl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerscntbl.xml
# Properties
--include $(LOCAL_PATH)/properties.mk
+include $(LOCAL_PATH)/vendor_prop.mk
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
# Radio
@@ -244,16 +236,16 @@
android.hardware.radio.config@1.2.vendor \
android.hardware.radio.deprecated@1.0.vendor
-# Recovery
-PRODUCT_PACKAGES += \
- init.recovery.mt6785.rc
-
# RcsService
PRODUCT_PACKAGES += \
com.android.ims.rcsmanager \
PresencePolling \
RcsService
+# Recovery
+PRODUCT_PACKAGES += \
+ init.recovery.mt6785.rc
+
# Secure element
PRODUCT_PACKAGES += \
android.hardware.secure_element@1.2.vendor
@@ -284,15 +276,19 @@
PRODUCT_PACKAGES += \
libshim_vtservice
-# Touch
+# Textclassifier
PRODUCT_PACKAGES += \
- vendor.lineage.touch@1.0-service.RM6785
+ libtextclassifier_hash.vendor
# Thermal
PRODUCT_PACKAGES += \
android.hardware.thermal@1.0-impl \
android.hardware.thermal@2.0.vendor
+# Touch
+PRODUCT_PACKAGES += \
+ vendor.lineage.touch@1.0-service.RM6785
+
# Trust HAL
PRODUCT_PACKAGES += \
vendor.lineage.trust@1.0-service