mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Filter exception
This commit is contained in:
parent
743a41e667
commit
938eba8973
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,7 @@ import android.os.DeadObjectException;
|
||||||
import android.os.Debug;
|
import android.os.Debug;
|
||||||
import android.os.PowerManager;
|
import android.os.PowerManager;
|
||||||
import android.os.RemoteException;
|
import android.os.RemoteException;
|
||||||
|
import android.os.TransactionTooLargeException;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.view.Display;
|
import android.view.Display;
|
||||||
import android.view.OrientationEventListener;
|
import android.view.OrientationEventListener;
|
||||||
|
@ -598,6 +599,11 @@ public class Log {
|
||||||
*/
|
*/
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (ex instanceof RuntimeException &&
|
||||||
|
ex.getCause() instanceof TransactionTooLargeException)
|
||||||
|
// Some Android versions (Samsung) send images as clip data
|
||||||
|
return false;
|
||||||
|
|
||||||
if (ex instanceof RuntimeException &&
|
if (ex instanceof RuntimeException &&
|
||||||
ex.getMessage() != null &&
|
ex.getMessage() != null &&
|
||||||
(ex.getMessage().startsWith("Could not get application info") ||
|
(ex.getMessage().startsWith("Could not get application info") ||
|
||||||
|
|
Loading…
Reference in a new issue