-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
73 lines (60 loc) · 2.27 KB
/
device.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
LOCAL_PATH := device/samsung/matisse3g
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/samsung/matisseg3/matisseg3-vendor.mk)
# Radio
#PRODUCT_PROPERTY_OVERRIDES += \
# persist.data.netmgrd.qos.enable=false \
# persist.data.qmi.adb_logmask=0 \
# persist.radio.add_power_save=1 \
# rild.libargs=-d /dev/smd0 \
# rild.libpath=/system/lib/libsec-ril.so \
# ro.telephony.ril.config=simactivation \
# ro.use_data_netmgrd=false \
# persist.rild.nitz_plmn="" \
# persist.rild.nitz_long_ons_0="" \
# persist.rild.nitz_long_ons_1="" \
# persist.rild.nitz_long_ons_2="" \
# persist.rild.nitz_long_ons_3="" \
# persist.rild.nitz_short_ons_0="" \
# persist.rild.nitz_short_ons_1="" \
# persist.rild.nitz_short_ons_2="" \
# persist.rild.nitz_short_ons_3=""
# Heap
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapgrowthlimit=128m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m \
dalvik.vm.heapsize=36m \
# Ramdisk
PRODUCT_PACKAGES += \
init.ril.rc
# Data line Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_OUT_ETC)/system/etc/permissions/android.hardware.telephony.cdma.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_OUT_ETC)/system/etc/permissions/android.hardware.telephony.gsm.xml
# millet-common
$(call inherit-product, device/samsung/matisse-common/matisse.mk)
DEVICE_HAS_DATELINE := true
# TODO: opengapps
$(call inherit-product, vendor/Gapps-Preloader/opengapps.mk)