forked from CyanogenMod/android_device_lge_e973
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device.mk
48 lines (40 loc) · 1.6 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
#
# Copyright (C) 2011 The Android Open-Source 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.
#
## (2) Also get non-open-source specific aspects if available
$(call inherit-product-if-exists, vendor/lge/e975/e975-vendor.mk)
## overlays
DEVICE_PACKAGE_OVERLAYS += device/lge/e973/overlay
## common overlays
DEVICE_PACKAGE_OVERLAYS += device/lge/ls970-common/overlay
# Inherit from ls970-common
$(call inherit-product, device/lge/ls970-common/ls970-common.mk)
# Enable for debugging
PRODUCT_PROPERTY_OVERRIDES += \
ro.debuggable=1 \
persist.service.adb.enable=1
# Telephony Properties
PRODUCT_PROPERTY_OVERRIDES += \
telephony.lteOnCdmaDevice=0 \
ro.telephony.default_network=9 \
telephony.lteOnGsmDevice=1
# Ramdisk
PRODUCT_COPY_FILES += \
device/lge/e973/ramdisk/init.e973.rc:root/init.e973.rc \
device/lge/e973/ramdisk/ueventd.e973.rc:root/ueventd.e973.rc \
device/lge/e973/ramdisk/fstab.e973:root/fstab.e973
# These are the hardware-specific features
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml