mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
return from autofill events when device is asleep
This commit is contained in:
@@ -69,6 +69,12 @@ namespace Bit.Android
|
||||
|
||||
public override void OnAccessibilityEvent(AccessibilityEvent e)
|
||||
{
|
||||
var powerManager = (PowerManager)GetSystemService(PowerService);
|
||||
if(!powerManager.IsInteractive)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
var root = RootInActiveWindow;
|
||||
|
||||
Reference in New Issue
Block a user