Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-core: Commit

system/core


Commit MetaInfo

Revisiónc7bad6ade3faaf237c36dfb9362fd42b823ceb4d (tree)
Tiempo2010-12-09 18:48:00
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init: set debug.logcat according to DEBUG variable

Cambiar Resumen

Diferencia incremental

--- a/init/init.c
+++ b/init/init.c
@@ -927,6 +927,8 @@ int main(int argc, char **argv)
927927 property_set("ro.carrier", carrier[0] ? carrier : "unknown");
928928 property_set("ro.bootloader", bootloader[0] ? bootloader : "unknown");
929929
930+ if ((tmpdev = getenv("DEBUG")))
931+ property_set("debug.logcat", tmpdev);
930932 if ((tmpdev = getenv("HWACCEL")) && !atoi(tmpdev)) {
931933 property_set("debug.egl.hw", tmpdev);
932934 // a temporary workaround to disable hardware specific gralloc
Show on old repository browser