diff --git a/cm.mk b/cm.mk
index ca362e2..3d18855 100644
--- a/cm.mk
+++ b/cm.mk
@@ -20,11 +20,6 @@ PRODUCT_NAME := cm_leo
#Set build fingerprint / ID / Prduct Name ect.
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=leo BUILD_ID=IML74K BUILD_DISPLAY_ID=IML74K BUILD_FINGERPRINT="google/htc_leo/leo:4.0.3/IML74K/239410:user/release-keys" PRVIATE_BUILD_DESC="full_leo-user 4.0.3 IML74K 239410 release-keys"
-
-PRODUCT_PACKAGES += \
- Camera \
- CMSettings
-
# Release name and versioning
PRODUCT_RELEASE_NAME := LEO
#PRODUCT_VERSION_DEVICE_SPECIFIC := -aali
diff --git a/leo.mk b/leo.mk
index 1861f29..49661b7 100644
--- a/leo.mk
+++ b/leo.mk
@@ -99,9 +99,10 @@ PRODUCT_PACKAGES += \
libgps \
com.android.future.usb.accessory \
libhtc_ril_wrapper
-
-# leo uses high-density artwork where available
-PRODUCT_LOCALES := hdpi
+
+# leo uses high-density artwork where available
+PRODUCT_AAPT_CONFIG := normal hdpi
+PRODUCT_AAPT_PREF_CONFIG := hdpi
PRODUCT_COPY_FILES += \
device/htc/leo/prebuilt/vold.fstab:system/etc/vold.fstab
diff --git a/overlay/frameworks/base/core/res/res/drawable-hdpi/default_wallpaper.jpg b/overlay/frameworks/base/core/res/res/drawable-hdpi/default_wallpaper.jpg
deleted file mode 100644
index 811149b..0000000
Binary files a/overlay/frameworks/base/core/res/res/drawable-hdpi/default_wallpaper.jpg and /dev/null differ
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 0f33fef..a95e44e 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -21,12 +21,6 @@
for different hardware and product builds. -->
-
- true
-
true
@@ -39,53 +33,41 @@
manager will disable alpha trasformation in animations where not
strictly needed. -->
true
+
+
+ true
-
-
- - 11
- - 41
- - 91
- - 161
- - 226
- - 321
- - 641
- - 1281
- - 2601
+
+ - 160
+ - 225
+ - 320
+ - 640
+ - 1280
+ - 2600
+ - 5800
+ in the config_autoBrightnessLevels array. This array should have size one greater
+ than the size of the config_autoBrightnessLevels array. -->
- - 89
- - 89
- - 126
- - 164
- - 164
- - 164
- - 187
- - 210
- - 233
+ - 60
+ - 100
+ - 120
+ - 140
+ - 160
+ - 180
+ - 220
- 255
+ in the config_autoBrightnessLevels array. This array should have size one greater
+ than the size of the config_autoBrightnessLevels array. -->
- - 255
- - 255
- 255
- 255
- 0
@@ -97,16 +79,18 @@
+ Leo has no keyboard so all values are zero. -->
- 0
- 0
- 0
- 0
- 0
+ - 0
+ - 0
+ - 0
10
-
- false
-
diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
index 9be6384..b18d9dc 100644
--- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -19,12 +19,12 @@
- 0
- - 100
+ - 110
- 142
- 0.3
- 35690
- - 160
+ - 250
- 4
- 120
- 220
@@ -32,7 +32,7 @@
- 88
- 300
- 170
- - 1390
+ - 1230
- 70
3
@@ -69,4 +69,4 @@
148.5
168.4
-
+
\ No newline at end of file
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg
deleted file mode 100644
index 5518d6d..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass_small.jpg
deleted file mode 100644
index a1751e2..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_grass_small.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg
deleted file mode 100644
index 95c59ea..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains_small.jpg
deleted file mode 100644
index 956e8f0..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_mountains_small.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg
deleted file mode 100644
index 4bc7ff3..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam_small.jpg
deleted file mode 100644
index f034b33..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_phasebeam_small.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg
deleted file mode 100644
index 2f96d02..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse_small.jpg
deleted file mode 100644
index 34ca847..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_pulse_small.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg
deleted file mode 100644
index f4a3934..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle_small.jpg
deleted file mode 100644
index d580182..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_shuttle_small.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg
deleted file mode 100644
index 8f3ec2d..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars_small.jpg
deleted file mode 100644
index ba76f18..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stars_small.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg
deleted file mode 100644
index fdd4aaf..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream_small.jpg
deleted file mode 100644
index 432d67d..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_stream_small.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights.jpg
deleted file mode 100644
index a8b6880..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights_small.jpg
deleted file mode 100644
index 11c253e..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_street_lights_small.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg
deleted file mode 100644
index 660040e..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset_small.jpg b/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset_small.jpg
deleted file mode 100644
index ed79925..0000000
Binary files a/overlay/packages/apps/Launcher2/res/drawable-hdpi/wallpaper_sunset_small.jpg and /dev/null differ
diff --git a/overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml b/overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml
deleted file mode 100644
index 40033cf..0000000
--- a/overlay/packages/apps/Launcher2/res/values-hdpi/wallpapers.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-
- - wallpaper_street_lights
- - wallpaper_stream
- - wallpaper_phasebeam
- - wallpaper_pulse
- - wallpaper_nexusrain
- - wallpaper_stars
- - wallpaper_canyon
- - wallpaper_grass
- - wallpaper_zanzibar
- - wallpaper_cloud
- - wallpaper_monumentvalley
- - wallpaper_mountains
- - wallpaper_sunset
- - wallpaper_goldengate
- - wallpaper_shuttle
-
-