From d30b30b24fc9fd0fa611b916ea601abeb610251d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 22 Jun 2017 09:39:02 -0400 Subject: [PATCH] turn crash emails back on for testing --- src/Android/MainApplication.cs | 2 +- src/Android/Services/AndroidKeyStoreStorageService.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Android/MainApplication.cs b/src/Android/MainApplication.cs index 66f764aa8..ecd2ae54d 100644 --- a/src/Android/MainApplication.cs +++ b/src/Android/MainApplication.cs @@ -38,7 +38,7 @@ namespace Bit.Android public MainApplication(IntPtr handle, JniHandleOwnership transer) : base(handle, transer) { - // AndroidEnvironment.UnhandledExceptionRaiser += AndroidEnvironment_UnhandledExceptionRaiser; + AndroidEnvironment.UnhandledExceptionRaiser += AndroidEnvironment_UnhandledExceptionRaiser; if(!Resolver.IsSet) { diff --git a/src/Android/Services/AndroidKeyStoreStorageService.cs b/src/Android/Services/AndroidKeyStoreStorageService.cs index 332326682..ea0000043 100644 --- a/src/Android/Services/AndroidKeyStoreStorageService.cs +++ b/src/Android/Services/AndroidKeyStoreStorageService.cs @@ -96,7 +96,7 @@ namespace Bit.Android.Services { Console.WriteLine("Failed to decrypt from secure storage."); _settings.Remove(formattedKey); - //Utilities.SendCrashEmail(e); + Utilities.SendCrashEmail(e); return null; } } @@ -125,7 +125,7 @@ namespace Bit.Android.Services catch { Console.WriteLine("Failed to encrypt to secure storage."); - //Utilities.SendCrashEmail(e); + Utilities.SendCrashEmail(e); } } @@ -232,7 +232,7 @@ namespace Bit.Android.Services _settings.Remove(AesKey); if(!v1) { - //Utilities.SendCrashEmail(e); + Utilities.SendCrashEmail(e); } return null; }