mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Upgrade Gradle and use Android SDK 36
This commit is contained in:
parent
3e40b24737
commit
eee3f24739
5 changed files with 19 additions and 12 deletions
|
|
@ -226,7 +226,11 @@ public final class Server {
|
|||
|
||||
private static void internalMain(String... args) throws Exception {
|
||||
Thread.setDefaultUncaughtExceptionHandler((t, e) -> {
|
||||
Thread.UncaughtExceptionHandler defaultHandler = Thread.getDefaultUncaughtExceptionHandler();
|
||||
Ln.e("Exception on thread " + t, e);
|
||||
if (defaultHandler != null) {
|
||||
defaultHandler.uncaughtException(t, e);
|
||||
}
|
||||
});
|
||||
|
||||
prepareMainLooper();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue