diff --git a/source/Core/Xamarin.Auth.XamarinAndroid/AccountStore/AndroidAccountStore.cs b/source/Core/Xamarin.Auth.XamarinAndroid/AccountStore/AndroidAccountStore.cs index 11f649d80..23c0bfa17 100644 --- a/source/Core/Xamarin.Auth.XamarinAndroid/AccountStore/AndroidAccountStore.cs +++ b/source/Core/Xamarin.Auth.XamarinAndroid/AccountStore/AndroidAccountStore.cs @@ -51,7 +51,7 @@ internal partial class AndroidAccountStore : AccountStore static readonly char[] PasswordHardCodedOriginal = "System.Char[]".ToCharArray(); public AndroidAccountStore(Context context) - : this(context, new string(PasswordHardCoded)) + : this(context, new string(PasswordHardCoded)) { return; } @@ -67,7 +67,7 @@ public AndroidAccountStore(Context context, string password) if (password == null) { throw new ArgumentNullException("password"); - } + } Password = password.ToCharArray(); @@ -112,7 +112,7 @@ public AndroidAccountStore(Context context, string password) //try with the original password MigrateKeyStore(context, PasswordHardCodedOriginal); } - catch (Java.IO.IOException ex2) + catch () { //migrate using the default MigrateKeyStore(context);