mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-23 11:45:38 +01:00
catch any errors on OpenAccessibilitySettings
This commit is contained in:
parent
1cdc97f037
commit
4a01116e93
@ -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 New Issue
Block a user