forked from Team-Hydra/android_device_htc_m7spr
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevice_m7wls.mk
44 lines (38 loc) · 1.59 KB
/
device_m7wls.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
#
# Copyright (C) 2011 The CyanogenMod 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.
#
# common m7 configs
$(call inherit-product, device/htc/m7-common/m7-common.mk)
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
PRODUCT_COPY_FILES += \
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
## CDMA Sprint stuffs
PRODUCT_PROPERTY_OVERRIDES += \
ro.com.google.clientidbase=android-sprint-us \
ro.com.google.locationfeatures=1 \
ro.cdma.home.operator.numeric=310120 \
ro.cdma.home.operator.alpha=Sprint \
gsm.sim.operator.alpha = sprint \
gsm.sim.operator.numeric = 310120 \
gsm.sim.operator.iso-country = us \
gsm.operator.alpha = sprint \
gsm.operator.numeric = 310120 \
gsm.operator.iso-country = us \
ro.carrier=Sprint
PRODUCT_NAME := full_m7wls
PRODUCT_DEVICE := m7wls
# call the proprietary setup
$(call inherit-product-if-exists, vendor/htc/m7wls/m7wls-vendor.mk)