mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Prevent NPE
This commit is contained in:
@@ -1440,6 +1440,9 @@ public class Helper {
|
||||
}
|
||||
|
||||
static void reportNoViewer(Context context, @NonNull Intent intent, @Nullable Throwable ex) {
|
||||
if (context == null)
|
||||
return;
|
||||
|
||||
if (ex != null) {
|
||||
if (ex instanceof ActivityNotFoundException && BuildConfig.PLAY_STORE_RELEASE)
|
||||
Log.w(ex);
|
||||
|
||||
Reference in New Issue
Block a user