summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRashed Abdel-Tawab <rashed@linux.com>2017-03-09 22:26:55 -0500
committerDrgravy <drg113001@gmail.com>2017-04-07 21:02:49 -0500
commit0c474081a580cc013d2d9dadc6482f7aa5ac84b8 (patch)
tree8bbb999a349e511832114c2baab2094a35ab782f
parent4e78094d478fa7db346540f6c8076f47771d8396 (diff)
v20: Decommonize GMS property and cleanup
Change-Id: I108d3a97bbd653c7582cb7931975929b39791c4a
-rw-r--r--BoardConfigCommon.mk9
-rw-r--r--system.prop3
-rw-r--r--v20.mk9
3 files changed, 14 insertions, 7 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 6f13532..a28cc97 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -15,18 +15,19 @@
# limitations under the License.
#
+DEVICE_COMMON_PATH := device/lge/v20-common
+
# inherit from common msm8996
-include device/lge/msm8996-common/BoardConfigCommon.mk
-# Boot animation
-TARGET_SCREEN_HEIGHT := 2560
-TARGET_SCREEN_WIDTH := 1440
-
# Display
TARGET_USES_HWC2 := false
# Lights
TARGET_PROVIDES_LIBLIGHT := true
+# Properties
+TARGET_SYSTEM_PROP += $(DEVICE_COMMON_PATH)/system.prop
+
# inherit from the proprietary version
-include vendor/lge/v20-common/BoardConfigVendor.mk
diff --git a/system.prop b/system.prop
new file mode 100644
index 0000000..4044448
--- /dev/null
+++ b/system.prop
@@ -0,0 +1,3 @@
+# GMS
+# Device was launched with N
+ro.product.first_api_level=24
diff --git a/v20.mk b/v20.mk
index bff6a1c..6aa957a 100644
--- a/v20.mk
+++ b/v20.mk
@@ -18,15 +18,18 @@
# Inherit proprietary blobs
$(call inherit-product-if-exists, vendor/lge/v20-common/v20-common-vendor.mk)
+$(call inherit-product, device/lge/msm8996-common/msm8996.mk)
+
# Overlay
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
+# Boot animation
+TARGET_SCREEN_HEIGHT := 2560
+TARGET_SCREEN_WIDTH := 1440
+
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/mixer_paths_tasha.xml:system/etc/mixer_paths_tasha.xml
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sensors/sensor_def_elsa.conf:system/etc/sensors/sensor_def_common.conf
-
-# Inherit msm8996-common
-$(call inherit-product, device/lge/msm8996-common/msm8996.mk)