From be58162e10bb22a546ded5e3de75d29ada96268f Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Fri, 30 Dec 2011 20:03:43 +0000 Subject: [PATCH] leo: fix build for 4.0.3 --- leo.mk | 9 +- .../base/core/res/res/values/config.xml | 3 - prebuilt/media_profiles.xml | 311 +++--------------- system.prop | 3 + 4 files changed, 53 insertions(+), 273 deletions(-) diff --git a/leo.mk b/leo.mk index 2fff261..b43bd08 100644 --- a/leo.mk +++ b/leo.mk @@ -71,10 +71,11 @@ PRODUCT_PACKAGES += \ com.android.future.usb.accessory \ libhtc_ril_wrapper \ audio.a2dp.default \ - audio.primary.htcleo \ - audio_policy.htcleo \ - copybit.htcleo \ - gralloc.htcleo + audio.primary.qsd8k \ + audio_policy.qsd8k \ + hwcomposer.default \ + copybit.qsd8k \ + gralloc.qsd8k # leo uses high-density artwork where available PRODUCT_LOCALES := hdpi diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 81ca771..3b44ce0 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -181,7 +181,4 @@ false - - - true diff --git a/prebuilt/media_profiles.xml b/prebuilt/media_profiles.xml index ae1ce88..d4bceff 100644 --- a/prebuilt/media_profiles.xml +++ b/prebuilt/media_profiles.xml @@ -25,7 +25,6 @@ - @@ -70,15 +69,6 @@ - - - - - - - - - ]> - - - + + + + - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -333,26 +135,26 @@ or query the capabilities of the codec at all if it is disabled --> + minBitRate="64000" maxBitRate="3000000" + minFrameWidth="176" maxFrameWidth="800" + minFrameHeight="144" maxFrameHeight="480" + minFrameRate="27" maxFrameRate="27" /> + minBitRate="64000" maxBitRate="1000000" + minFrameWidth="176" maxFrameWidth="800" + minFrameHeight="144" maxFrameHeight="480" + minFrameRate="27" maxFrameRate="27" /> + minBitRate="64000" maxBitRate="2000000" + minFrameWidth="176" maxFrameWidth="800" + minFrameHeight="144" maxFrameHeight="480" + minFrameRate="27" maxFrameRate="27" /> - - - - - - - - diff --git a/system.prop b/system.prop index 54e989f..6f8b09a 100644 --- a/system.prop +++ b/system.prop @@ -64,3 +64,6 @@ ro.ril.def.agps.mode=2 # Show the correct dBm value ro.telephony.ril.v3=1 + +# Disable HWAccel for now +ro.config.disable_hw_accel=true