Browse Source

Report all crashes when not a Play store install

main
M66B 6 years ago
parent
commit
0ae3d52480
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      app/src/main/java/eu/faircode/email/ApplicationEx.java

+ 5
- 0
app/src/main/java/eu/faircode/email/ApplicationEx.java View File

@ -86,8 +86,13 @@ public class ApplicationEx extends Application {
public boolean ownFault(Throwable ex) {
if (ex instanceof OutOfMemoryError)
return false;
if (ex instanceof RemoteException)
return false;
if (!Helper.isPlayStoreInstall(this))
return true;
while (ex != null) {
for (StackTraceElement ste : ex.getStackTrace())
if (ste.getClassName().startsWith(getPackageName()))


Loading…
Cancel
Save