test: dont even init appsettings

This commit is contained in:
Kyle Spearrin 2018-02-01 15:02:56 -05:00
parent 333894ddeb
commit c51449e607

View file

@ -24,7 +24,7 @@ namespace Bit.Android
private const string BitwardenPackage = "com.x8bit.bitwarden"; private const string BitwardenPackage = "com.x8bit.bitwarden";
private const string BitwardenWebsite = "bitwarden.com"; private const string BitwardenWebsite = "bitwarden.com";
private static Dictionary<string, Browser> SupportedBrowsers => new List<Browser> private static Dictionary<string, Browser> SupportedBrowsers;/* => new List<Browser>
{ {
new Browser("com.android.chrome", "url_bar"), new Browser("com.android.chrome", "url_bar"),
new Browser("com.chrome.beta", "url_bar"), new Browser("com.chrome.beta", "url_bar"),
@ -62,7 +62,7 @@ namespace Bit.Android
new Browser("acr.browser.barebones", "search"), new Browser("acr.browser.barebones", "search"),
new Browser("com.microsoft.emmx", "url_bar"), new Browser("com.microsoft.emmx", "url_bar"),
new Browser("com.duckduckgo.mobile.android", "omnibarTextInput") new Browser("com.duckduckgo.mobile.android", "omnibarTextInput")
}.ToDictionary(n => n.PackageName); }.ToDictionary(n => n.PackageName);*/
private readonly IAppSettingsService _appSettings; private readonly IAppSettingsService _appSettings;
private long _lastNotificationTime = 0; private long _lastNotificationTime = 0;
@ -70,7 +70,7 @@ namespace Bit.Android
public AutofillService() public AutofillService()
{ {
_appSettings = Resolver.Resolve<IAppSettingsService>(); //_appSettings = Resolver.Resolve<IAppSettingsService>();
} }
public override void OnAccessibilityEvent(AccessibilityEvent e) public override void OnAccessibilityEvent(AccessibilityEvent e)