forked from android-hacker/VirtualXposed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tiann
committed
Feb 25, 2019
1 parent
60acd2b
commit 9685d67
Showing
7 changed files
with
37 additions
and
93 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
27 changes: 27 additions & 0 deletions
27
VirtualApp/app/src/main/java/io/virtualapp/delegate/BaseCrashHandler.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package io.virtualapp.delegate; | ||
|
||
import android.annotation.SuppressLint; | ||
import android.os.Looper; | ||
import android.util.Log; | ||
|
||
import com.lody.virtual.client.core.CrashHandler; | ||
|
||
/** | ||
* author: weishu on 18/3/10. | ||
*/ | ||
public class BaseCrashHandler implements CrashHandler { | ||
|
||
protected static final String TAG = "XApp"; | ||
|
||
@SuppressLint("ApplySharedPref") | ||
@Override | ||
public void handleUncaughtException(Thread t, Throwable e) { | ||
|
||
|
||
if (t == Looper.getMainLooper().getThread()) { | ||
System.exit(0); | ||
} else { | ||
Log.e(TAG, "ignore uncaught exception of sub thread: " + t); | ||
} | ||
} | ||
} |
This file contains 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
73 changes: 0 additions & 73 deletions
73
VirtualApp/app/src/main/java/io/virtualapp/home/FlurryROMCollector.java
This file was deleted.
Oops, something went wrong.
This file contains 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