1 # Copyright (C) 2010 The Android Open Source Project 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 16 # This file is the device-specific product definition file for 17 # crespo. It lists all the overlays, files, modules and properties 18 # that are specific to this hardware: i.e. those are device-specific 19 # drivers, configuration files, settings, etc... 20 21 # Note that crespo is not a fully open device. Some of the drivers 22 # aren't publicly available in all circumstances, which means that some 23 # of the hardware capabilities aren't present in builds where those 24 # drivers aren't available. Such cases are handled by having this file 25 # separated into two halves: this half here contains the parts that 26 # are available to everyone, while another half in the vendor/ hierarchy 27 # augments that set with the parts that are only relevant when all the 28 # associated drivers are available. Aspects that are irrelevant but 29 # harmless in no-driver builds should be kept here for simplicity and 30 # transparency. There are two variants of the half that deals with 31 # the unavailable drivers: one is directly checked into the unreleased 32 # vendor tree and is used by engineers who have access to it. The other 33 # is generated by setup-makefile.sh in the same directory as this files, 34 # and is used by people who have access to binary versions of the drivers 35 # but not to the original vendor tree. Be sure to update both. 36 37 38 39 # These is the hardware-specific overlay, which points to the location 40 # of hardware-specific resource overrides, typically the frameworks and 41 # application settings that are stored in resourced. 42 43 # Telephony property for CDMA 44 PRODUCT_PROPERTY_OVERRIDES += \ 45 ro.cdma.home.operator.numeric=310120 \ 46 ro.cdma.home.operator.alpha=Sprint \ 47 ro.telephony.default_network=4 48 49 # WiMAX Property setting for checking WiMAX interface 50 PRODUCT_PROPERTY_OVERRIDES += \ 51 ro.wimax.interface=uwbr0 52 53 # Hardware-specific features 54 PRODUCT_COPY_FILES += \ 55 frameworks/base/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ 56 device/samsung/crespo4g/init.herring.rc:root/init.herring.rc 57 58 # GPS config 59 PRODUCT_COPY_FILES += \ 60 device/samsung/crespo4g/gps.conf:system/etc/gps.conf \ 61 device/samsung/crespo4g/gps.xml:system/vendor/etc/gps.xml 62 63 # APNs for 3G network access 64 PRODUCT_COPY_FILES += \ 65 device/samsung/crespo4g/4g-apns-conf.xml:system/etc/apns-conf.xml 66 67 # Overlay for WiMAX-related settings 68 DEVICE_PACKAGE_OVERLAYS := device/samsung/crespo4g/crespo4g_overlay \ 69 device/samsung/crespo4g/overlay 70 71 #Changes on this file should go above this line 72 $(call inherit-product-if-exists, vendor/samsung/crespo/device4g-vendor.mk) 73 $(call inherit-product, device/samsung/crespo/device_base.mk) 74