mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Suppress DeadSystemException
This commit is contained in:
@@ -688,9 +688,8 @@ public class Log {
|
||||
// Some Android versions (Samsung) send images as clip data
|
||||
return false;
|
||||
|
||||
if (ex instanceof RuntimeException &&
|
||||
Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
Throwable cause = ex.getCause();
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
Throwable cause = ex;
|
||||
while (cause != null) {
|
||||
if (cause instanceof DeadSystemException)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user