From 68d8b1fa3e16518966dfab85ed241cef75995d0b Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 6 Jun 2019 08:59:54 -0400 Subject: [PATCH] catch disable display for nfc --- src/Android/MainActivity.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Android/MainActivity.cs b/src/Android/MainActivity.cs index 9b98ff7d5..3bc912f18 100644 --- a/src/Android/MainActivity.cs +++ b/src/Android/MainActivity.cs @@ -244,7 +244,11 @@ namespace Bit.Droid } else { - adapter.DisableForegroundDispatch(this); + try + { + adapter.DisableForegroundDispatch(this); + } + catch { } } }