• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revisión25d733f77005f8e41817f231d41d8fdd0c5fc13b (tree)
Tiempo2012-02-23 18:40:13
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init: remove the workaround to disable hardware gralloc

The workaround changes ro.hardware property that causes
side effect. Move the workaround to libhardware.

Cambiar Resumen

Diferencia incremental

--- a/init/init.c
+++ b/init/init.c
@@ -603,8 +603,6 @@ static int set_init_properties_action(int nargs, char **args)
603603
604604 if ((tmpdev = getenv("HWACCEL")) && tmpdev[0] == '0') {
605605 property_set("debug.egl.hw", tmpdev);
606- // a temporary workaround to disable hardware specific gralloc
607- hardware[0] = '\0';
608606 }
609607 property_set("ro.hardware", hardware);
610608 snprintf(tmp, PROP_VALUE_MAX, "%d", revision);