This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| final Thread.UncaughtExceptionHandler subclass = Thread.currentThread().getUncaughtExceptionHandler(); | |
| Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { | |
| @Override | |
| public void uncaughtException(Thread paramThread, Throwable paramThrowable) { | |
| // Log.e("com.jaredye.todo", paramThrowable.toString()); | |
| // Log.e("com.jaredye.todo", paramThrowable.getMessage()); | |
| Log.e("com.jaredye.todo", Log.getStackTraceString(paramThrowable)); | |
| subclass.uncaughtException(paramThread, paramThrowable); | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dfasdfasdfasdfasdfadf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if dfdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| 统计进度 | |
| """ | |
| import time | |
| import datetime |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| 统计进度 | |
| """ | |
| import time | |
| import datetime |