From b9c5b90641b7051d37f6aae31b6463093599e646 Mon Sep 17 00:00:00 2001
From: Runt <qingingrunt2010@qq.com>
Date: Wed, 13 Nov 2024 10:48:33 +0000
Subject: [PATCH] bitmaputils代码优化 改用mediacodec解码视频画面 完成视频文件画面渲染与传输

---
 libmvi/src/main/java/com/runt/open/mvi/CrashHandler.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/libmvi/src/main/java/com/runt/open/mvi/CrashHandler.java b/libmvi/src/main/java/com/runt/open/mvi/CrashHandler.java
index 4bb7e0d..fee8251 100644
--- a/libmvi/src/main/java/com/runt/open/mvi/CrashHandler.java
+++ b/libmvi/src/main/java/com/runt/open/mvi/CrashHandler.java
@@ -87,7 +87,7 @@
      */
     @Override
     public void uncaughtException(Thread thread, Throwable ex) {
-        Log.i(TAG, "uncaughtException Throwable:"+ex);
+        //Log.i(TAG, "uncaughtException Throwable:"+ex);
         if (!handleException(ex) && mDefaultHandler != null) {
             //如果用户没有处理则让系统默认的异常处理器来处理
             mDefaultHandler.uncaughtException(thread, ex);
@@ -104,7 +104,7 @@
      * @return true:如果处理了该异常信息;否则返回false.
      */
     private boolean handleException(Throwable ex) {
-        Log.i(TAG, "handleException Throwable:"+ex);
+        //Log.i(TAG, "handleException Throwable:"+ex);
         if (ex == null) {
             return false;
         }
@@ -153,8 +153,8 @@
      * @return  返回文件名称,便于将文件传送到服务器
      */
     private String saveCatchInfoFile(Throwable ex) {
-        ex.printStackTrace();
-        Log.i(TAG, "saveCatchInfo2File Throwable:"+ex);
+        //ex.printStackTrace();
+        //Log.i(TAG, "saveCatchInfo2File Throwable:"+ex);
 
         StringBuffer sb = new StringBuffer();
         for (Map.Entry<String, String> entry : infos.entrySet()) {
@@ -165,10 +165,10 @@
 
         Writer writer = new StringWriter();
         PrintWriter printWriter = new PrintWriter(writer);
-        ex.printStackTrace(printWriter);
+        //ex.printStackTrace(printWriter);
         Throwable cause = ex.getCause();
         while (cause != null) {
-            cause.printStackTrace(printWriter);
+            //cause.printStackTrace(printWriter);
             cause = cause.getCause();
         }
         printWriter.close();
@@ -226,7 +226,7 @@
                 s = reader.readLine();
                 if(s == null) break;
                 //由于目前尚未确定以何种方式发送,所以先打出log日志。
-                Log.i("info", s.toString());
+                //Log.i("info", s.toString());
             }
         } catch (FileNotFoundException e) {
             e.printStackTrace();

--
Gitblit v1.9.1