Commit e51a90df authored by Sniper-'s avatar Sniper-
Browse files

Add i577 support

parent ae05afa1
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="available_toggles_entries">
<item>ROTATE</item>
<item>BT</item>
<item>GPS</item>
<item>WIFI</item>
<item>AIRPLANE_MODE</item>
<item>VIBRATE</item>
<item>SILENT</item>
<item>SYNC</item>
<item>DATA</item>
<item>AP</item>
<item>TETHER</item>
<item>TORCH</item>
<item>SWAGGER</item>
</string-array>
<string-array name="available_toggles_values">
<item>@string/toggle_auto_rotate</item>
<item>@string/toggle_bluetooth</item>
<item>@string/toggle_gps</item>
<item>@string/toggle_wifi</item>
<item>@string/toggle_airplane_mode</item>
<item>@string/toggle_vibrate</item>
<item>@string/toggle_silent</item>
<item>@string/toggle_sync</item>
<item>@string/toggle_data</item>
<item>@string/toggle_wifi_ap</item>
<item>@string/toggle_usb_tether</item>
<item>@string/toggle_torch</item>
<item>@string/toggle_swagger</item>
</string-array>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Whether or not to display the notification LED settings -->
<bool name="has_notification_led">false</bool>
<!-- Whether device has camera flash or torch capabilities -->
<bool name="has_torch">true</bool>
<!-- Whether device has hardware buttons -->
<bool name="has_hardware_buttons">true</bool>
<!-- Whether can use fast chage -->
<bool name="has_fast_charge">false</bool>
<!-- Whether can use color tuning -->
<bool name="has_color_tuning">true</bool>
</resources>
......@@ -64,3 +64,6 @@ endif
ifeq (pac_vigor,$(TARGET_PRODUCT))
PRODUCT_MAKEFILES += $(LOCAL_DIR)/pac_vigor.mk
endif
ifeq (pac_i577,$(TARGET_PRODUCT))
PRODUCT_MAKEFILES += $(LOCAL_DIR)/pac_i577.mk
endif
# Check for target product
ifeq (pac_i577,$(TARGET_PRODUCT))
# OVERLAY_TARGET adds overlay asset source
OVERLAY_TARGET := pa_hdpi
# AOKP device overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/pac/overlay/aokp/device/i577
# PAC device overlay
$(shell cp -f vendor/pac/overlay/pac/samsung/hdpi/frameworks/base/core/res/assets/images/android-logo-mask.png frameworks/base/core/res/assets/images/android-logo-mask.png)
# include ParanoidAndroid common configuration
include vendor/pac/config/pac_common.mk
# Inherit CM device configuration
$(call inherit-product, device/samsung/i577/cm.mk)
PRODUCT_NAME := pac_i577
endif
......@@ -15,6 +15,7 @@ add_lunch_combo pac_quincyatt-userdebug
add_lunch_combo pac_skyrocket-userdebug
add_lunch_combo pac_i927-userdebug
add_lunch_combo pac_d710-userdebug
add_lunch_combo pac_i577-userdebug
# Galaxy Ace
add_lunch_combo pac_cooper-userdebug
# Nexus 7
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment