OpenCore 2.02
commit dcab407636cbe3bb8d304081a00c26066b66fd6e
Author: Jianhong Jiang <[email protected]>
Date: Mon Apr 13 18:05:40 2009 -0700
Remove the commented mSurface.clear().
Squashed commit of the following:
commit 34176f7139f49d67ad1d06d68141e107e7d02029
Author: Jianhong Jiang <[email protected]>
Date: Fri Apr 10 15:20:04 2009 -0700
OpenCore 2.02
Somehow this files were not deleted.
Also include the review comments.
commit 66fe0126ce02bd37a18916edaae88b73fb089e00
Author: Jianhong Jiang <[email protected]>
Date: Fri Apr 10 14:11:44 2009 -0700
OpenCore 2.02 inside external/opencore/ folder.
There are a few changes outside external/opencore/ folder.
diff --git a/android/thread_init.cpp b/android/thread_init.cpp
index bb9bef1..4a8cd7b 100644
--- a/android/thread_init.cpp
+++ b/android/thread_init.cpp
@@ -22,11 +22,14 @@
#include "android_log_appender.h"
#include "pvlogger_time_and_id_layout.h"
-#include "pvlogger.h"
#include "oscl_mem.h"
#include "oscl_error.h"
-#include "omx_core.h"
+#include "OMX_Core.h"
+
+#if (PVLOGGER_INST_LEVEL > 0)
+#include "android_logger_config.h"
+#endif
using namespace android;
static pthread_key_t ptkey=NULL;
@@ -84,16 +87,12 @@
LOGE("pthread_setspecific error %d", error);
return false;
}
-
-#if 0
- PVLoggerAppender *appender = new AndroidLogAppender<TimeAndIdLayout,1024>();
- OsclRefCounterSA<LogAppenderDestructDealloc<AndroidLogAppender<TimeAndIdLayout,1024> > > *appenderRefCounter =
- new OsclRefCounterSA<LogAppenderDestructDealloc<AndroidLogAppender<TimeAndIdLayout,1024> > >(appender);
- OsclRefCounter *refCounter = appenderRefCounter;
- OsclSharedPtr<PVLoggerAppender> appenderPtr(appender, refCounter);
- PVLogger *rootnode = PVLogger::GetLoggerObject("");
- rootnode->AddAppender(appenderPtr);
- rootnode->SetLogLevel(PVLOGMSG_DEBUG);
+#if (PVLOGGER_INST_LEVEL > 0)
+ PVLoggerConfigFile obj;
+ if(obj.IsLoggerConfigFilePresent())
+ {
+ obj.SetLoggerSettings();
+ }
#endif
}
return true;