mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 16:40:53 +01:00
Write crash log only when not installed from the Play store
This commit is contained in:
@@ -189,7 +189,8 @@ public class Helper {
|
||||
}
|
||||
|
||||
static void unexpectedError(final Context context, final LifecycleOwner owner, final Throwable ex) {
|
||||
ApplicationEx.writeCrashLog(context, ex);
|
||||
if (!isPlayStoreInstall(context))
|
||||
ApplicationEx.writeCrashLog(context, ex);
|
||||
|
||||
if (owner.getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED))
|
||||
new DialogBuilderLifecycle(context, owner)
|
||||
|
||||
Reference in New Issue
Block a user