catch any errors on OpenAccessibilitySettings

This commit is contained in:
Kyle Spearrin 2019-06-05 12:09:05 -04:00
parent 1cdc97f037
commit 4a01116e93

View file

@ -534,11 +534,15 @@ namespace Bit.Droid.Services
} }
public void OpenAccessibilitySettings() public void OpenAccessibilitySettings()
{
try
{ {
var activity = (MainActivity)CrossCurrentActivity.Current.Activity; var activity = (MainActivity)CrossCurrentActivity.Current.Activity;
var intent = new Intent(Settings.ActionAccessibilitySettings); var intent = new Intent(Settings.ActionAccessibilitySettings);
activity.StartActivity(intent); activity.StartActivity(intent);
} }
catch { }
}
public void OpenAutofillSettings() public void OpenAutofillSettings()
{ {