mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
catch any errors on OpenAccessibilitySettings
This commit is contained in:
parent
1cdc97f037
commit
4a01116e93
1 changed files with 7 additions and 3 deletions
|
@ -535,9 +535,13 @@ namespace Bit.Droid.Services
|
|||
|
||||
public void OpenAccessibilitySettings()
|
||||
{
|
||||
var activity = (MainActivity)CrossCurrentActivity.Current.Activity;
|
||||
var intent = new Intent(Settings.ActionAccessibilitySettings);
|
||||
activity.StartActivity(intent);
|
||||
try
|
||||
{
|
||||
var activity = (MainActivity)CrossCurrentActivity.Current.Activity;
|
||||
var intent = new Intent(Settings.ActionAccessibilitySettings);
|
||||
activity.StartActivity(intent);
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
public void OpenAutofillSettings()
|
||||
|
|
Loading…
Reference in a new issue