test: do nothing for autofill service

This commit is contained in:
Kyle Spearrin 2018-02-01 15:00:43 -05:00
parent 052e227b65
commit 333894ddeb
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,9 @@ namespace Bit.Android
public override void OnAccessibilityEvent(AccessibilityEvent e)
{
return;
/*
var powerManager = (PowerManager)GetSystemService(PowerService);
if(Build.VERSION.SdkInt > BuildVersionCodes.KitkatWatch && !powerManager.IsInteractive)
{
@ -205,6 +208,7 @@ namespace Bit.Android
}
// Suppress exceptions so that service doesn't crash
catch { }
*/
}
public override void OnInterrupt()