From 76c153c7c52ec730b409def6304d2494c79155b8 Mon Sep 17 00:00:00 2001 From: Valera1978 Date: Fri, 6 Jul 2018 20:37:47 +0300 Subject: [PATCH] cleanup --- device.mk | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/device.mk b/device.mk index 8db951e..ddea356 100755 --- a/device.mk +++ b/device.mk @@ -39,16 +39,6 @@ $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-he $(call inherit-product-if-exists, frameworks/native/build/phone-xxxhdpi-3072-hwui-memory.mk) -# Permissions -PRODUCT_COPY_FILES += \ - frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ - frameworks/native/data/etc/android.hardware.consumerir.xml:system/etc/permissions/android.hardware.consumerir.xml \ - frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ - frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ - frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ - frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ - frameworks/native/data/etc/android.software.freeform_window_management.xml:system/etc/permissions/android.software.freeform_window_management.xml - # Audio PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \ @@ -56,17 +46,6 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audio_policy.conf:system/vendor/etc/audio_policy.conf \ $(LOCAL_PATH)/audio/mixer_paths.xml:system/vendor/etc/mixer_paths.xml -# GPS -PRODUCT_PACKAGES += \ - gps.msm8974 - -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/clatd.conf:system/etc/clatd.conf \ - $(LOCAL_PATH)/configs/flp.conf:system/etc/flp.conf \ - $(LOCAL_PATH)/configs/gps.conf:system/etc/gps.conf \ - $(LOCAL_PATH)/configs/izat.conf:system/etc/izat.conf \ - $(LOCAL_PATH)/configs/sap.conf:system/etc/sap.conf - # Camera PRODUCT_PACKAGES += \ android.hardware.camera.provider@2.4-impl \ @@ -80,6 +59,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ SamsungDoze +# FlipFlap +PRODUCT_PACKAGES += \ + FlipFlap + # IPv6 tethering PRODUCT_PACKAGES += \ ebtables \ @@ -106,8 +89,18 @@ PRODUCT_PACKAGES += \ # Media PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \ - $(LOCAL_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml + $(LOCAL_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml \ + $(LOCAL_PATH)/configs/media_codecs_performance.xml:system/etc/media_codecs_performance.xml + +# Permissions +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/vendor/etc/permissions/android.hardware.audio.low_latency.xml \ + frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/vendor/etc/permissions/android.hardware.sensor.stepcounter.xml \ + frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:system/vendor/etc/permissions/android.hardware.sensor.stepdetector.xml \ + frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/vendor/etc/permissions/android.hardware.telephony.cdma.xml \ + frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/vendor/etc/permissions/android.hardware.telephony.gsm.xml \ + frameworks/native/data/etc/com.nxp.mifare.xml:system/vendor/etc/permissions/com.nxp.mifare.xml \ + frameworks/native/data/etc/handheld_core_hardware.xml:system/vendor/etc/permissions/handheld_core_hardware.xml # Radio PRODUCT_PACKAGES += \ @@ -118,7 +111,6 @@ PRODUCT_PACKAGES += \ fstab.qcom \ init.qcom.rc \ init.qcom.usb.rc \ - init.sec.boot.sh \ ueventd.qcom.rc # Thermal