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

View file

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