Merge "Update 0% battery icon for LDPI devices." into gingerbread
diff --git a/CHANGELOG.mkdn b/CHANGELOG.mkdn
index e67c90c..d476d6a 100644
--- a/CHANGELOG.mkdn
+++ b/CHANGELOG.mkdn
@@ -43,6 +43,8 @@
* Captivate (SGH-I896/SGH-I897): atinm, Unhelpful, coolya, codeworkx
* Vibrant (SGH-T959): coolya, atinm, codeworkx, Unhelpful
* Incredible S: Kali-, attn1
+* Jordan (Defy): Quarx, Epsylon3, maniac103
+* Droid2 (MotoA955): JBirdVegas, RevNumbers
Translators:
------------
diff --git a/overlay/vivow/frameworks/base/core/res/res/values/config.xml b/overlay/vivow/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..960a389
--- /dev/null
+++ b/overlay/vivow/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 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.
+*/
+-->
+<resources>
+
+ <!-- Component name of the default wallpaper. This will be ImageWallpaper if not
+ specified -->
+ <string name="default_wallpaper_component">com.android.wallpaper/.nexus.NexusWallpaper</string>
+
+</resources>
diff --git a/overlay/vivow/packages/apps/CMParts/res/values/config.xml b/overlay/vivow/packages/apps/CMParts/res/values/config.xml
new file mode 100644
index 0000000..1f71848
--- /dev/null
+++ b/overlay/vivow/packages/apps/CMParts/res/values/config.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <!-- Whether or not to display the trackball settings -->
+ <bool name="has_trackball">false</bool>
+ <bool name="has_rgb_notification_led">false</bool>
+
+ <bool name="has_led_flash">true</bool>
+</resources>
diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml
index 9f256ad..accb91f 100644
--- a/prebuilt/common/etc/apns-conf.xml
+++ b/prebuilt/common/etc/apns-conf.xml
@@ -492,13 +492,14 @@
<apn carrier="AVEA MMS" mcc="286" mnc="03" apn="mms" user="mms" password="mms" mmsc="http://mms.avea.com.tr/servlets/mms" mmsproxy="213.161.151.201" mmsport="8080" type="mms" />
<apn carrier="Tele" mcc="290" mnc="01" apn="internet" type="default,supl" />
<apn carrier="Tele MMS" mcc="290" mnc="01" apn="mms" mmsc="http://mms.tele.gl/mms/wapenc" mmsproxy="10.112.222.37" mmsport="8080" type="mms" />
- <apn carrier="Si.mobil Internet" mcc="293" mnc="40" apn="internet.simobil.si" user="simobil" password="internet" proxy="80.95.224.46" port="9201" type="default,supl" />
- <apn carrier="Si.mobil MMS" mcc="293" mnc="40" apn="mms.simobil.si" user="simobil" password="internet" mmsc="mmc" mmsproxy="80.95.224.46" mmsport="9201" type="mms" />
+ <apn carrier="Si.mobil Internet" mcc="293" mnc="40" apn="internet.simobil.si" user="simobil" password="internet" type="default,supl" />
+ <apn carrier="Si.mobil MMS" mcc="293" mnc="40" apn="mms.simobil.si" user="simobil" password="internet" mmsc="http://mmc" mmsproxy="80.95.224.46" mmsport="9201" authenticationtype="PAP" type="mms" />
<apn carrier="Mobitel Internet" mcc="293" mnc="41" apn="internet" user="mobitel" password="internet" proxy="213.229.249.40" port="8080" type="default,supl,mms" />
<apn carrier="Mobitel MMS" mcc="293" mnc="41" apn="internet" user="mobitel" password="internet" mmsc="http://mms.mobitel.si/servlets/mms" mmsproxy="213.229.249.40" mmsport="8080" type="mms" />
<apn carrier="T-2 Internet" mcc="293" mnc="64" apn="internet.t-2.net" type="default,supl" />
<apn carrier="T-2 Mms" mcc="293" mnc="64" apn="mms.t-2.net" mmsc="http://www.mms.t-2.net:8002" mmsproxy="172.20.18.137" mmsport="8080" type="mms" />
- <apn carrier="Tusmobil Internet" mcc="293" mnc="70" apn="internet.tusmobil.si" user="tusmobil" password="internet" proxy="91.185.221.85" port="8002" type="default,supl,mms" />
+ <apn carrier="Tusmobil Internet" mcc="293" mnc="70" apn="internet.tusmobil.si" user="tusmobil" password="internet" authenticationtype="PAP" type="default" />
+ <apn carrier="Tusmobil MMS" mcc="293" mnc="70" apn="mms.tusmobil.si" user="tusmobil" password="mms" mmsc="http://mms.tusmobil.si:8002" mmsproxy="091.185.221.085" mmsport="8080" authenticationtype="PAP" type="mms" />
<apn carrier="T-Mobile MK" mcc="294" mnc="01" apn="internet" user="internet" password="t-mobile" type="default,supl" />
<apn carrier="T-Mobile MK MMS" mcc="294" mnc="01" apn="mms" user="mms" password="mms" mmsc="http://mms.t-mobile.com.mk" mmsproxy="62.162.155.227" mmsport="8080" type="mms" />
<apn carrier="ProMonte" mcc="297" mnc="01" apn="gprs.promonte.com" user="gprs" password="gprs" type="default,supl" />
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk
index 8ef2b35..44d169c 100644
--- a/products/AndroidProducts.mk
+++ b/products/AndroidProducts.mk
@@ -42,6 +42,7 @@
$(LOCAL_DIR)/cyanogen_vibrantmtd.mk \
$(LOCAL_DIR)/cyanogen_vision.mk \
$(LOCAL_DIR)/cyanogen_vivo.mk \
+ $(LOCAL_DIR)/cyanogen_vivow.mk \
$(LOCAL_DIR)/cyanogen_z71.mk \
$(LOCAL_DIR)/cyanogen_zeppelin.mk \
$(LOCAL_DIR)/cyanogen_zero.mk
diff --git a/products/common.mk b/products/common.mk
index b4d0f30..ec51c12 100644
--- a/products/common.mk
+++ b/products/common.mk
@@ -39,7 +39,9 @@
CMUpdateNotify \
DSPManager \
libcyanogen-dsp \
- Pacman
+ Pacman \
+ screenshot \
+ CMScreenshot
# Extra tools in CyanogenMod
PRODUCT_PACKAGES += \
diff --git a/products/cyanogen_vivow.mk b/products/cyanogen_vivow.mk
new file mode 100644
index 0000000..4e10cdd
--- /dev/null
+++ b/products/cyanogen_vivow.mk
@@ -0,0 +1,54 @@
+# Inherit device configuration for vivow.
+$(call inherit-product, device/htc/vivow/vivow.mk)
+
+# Inherit some common cyanogenmod stuff.
+$(call inherit-product, vendor/cyanogen/products/common_full.mk)
+
+#
+# Setup device specific product configuration.
+#
+PRODUCT_NAME := cyanogen_vivow
+PRODUCT_BRAND := htc_wwe
+PRODUCT_DEVICE := vivow
+PRODUCT_MODEL := Incredible 2
+PRODUCT_MANUFACTURER := HTC
+PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_vivow BUILD_ID=GRI40 BUILD_DISPLAY_ID=GRJ22 BUILD_FINGERPRINT=htc_wwe/htc_vivow/vivow:2.3.3/GRI40/47853:user/release-keys PRIVATE_BUILD_DESC="2.36.405.8 CL47853 release-keys"
+
+# Build kernel
+#PRODUCT_SPECIFIC_DEFINES += TARGET_PREBUILT_KERNEL=
+#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_DIR=kernel-msm
+#PRODUCT_SPECIFIC_DEFINES += TARGET_KERNEL_CONFIG=cyanogen_vivow_defconfig
+
+# Extra vivow overlay
+PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/vivow
+
+# Add the Torch app
+PRODUCT_PACKAGES += Torch
+
+# Add AicBootFix for vivow battery fix
+PRODUCT_PACKAGES += AicBootFix
+
+# Broadcom FM radio
+$(call inherit-product, vendor/cyanogen/products/bcm_fm_radio.mk)
+
+#
+# Set ro.modversion
+#
+ifdef CYANOGEN_NIGHTLY
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7-$(shell date +%m%d%Y)-NIGHTLY-Inc2
+else
+ ifdef CYANOGEN_RELEASE
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-Beta1-Inc2
+ else
+ PRODUCT_PROPERTY_OVERRIDES += \
+ ro.modversion=CyanogenMod-7.1.0-RC1-Beta1-Inc2-KANG
+ endif
+endif
+
+#
+# Copy passion specific prebuilt files
+#
+PRODUCT_COPY_FILES += \
+ vendor/cyanogen/prebuilt/hdpi/media/bootanimation.zip:system/media/bootanimation.zip
diff --git a/vendorsetup.sh b/vendorsetup.sh
index c2fcd65..6a08d27 100644
--- a/vendorsetup.sh
+++ b/vendorsetup.sh
@@ -41,8 +41,8 @@
add_lunch_combo cyanogen_vibrantmtd-eng
add_lunch_combo cyanogen_vision-eng
add_lunch_combo cyanogen_vivo-eng
+add_lunch_combo cyanogen_vivow-eng
add_lunch_combo cyanogen_z71-eng
add_lunch_combo cyanogen_zeppelin-eng
add_lunch_combo cyanogen_zero-eng
-PATH=$PATH:$PWD/vendor/cyanogen/tools ; export PATH