mirror of
https://github.com/bitwarden/android.git
synced 2025-01-11 18:57:39 +03:00
return from autofill events when device is asleep
This commit is contained in:
parent
40cfb9876d
commit
158bf873bd
1 changed files with 6 additions and 0 deletions
|
@ -69,6 +69,12 @@ namespace Bit.Android
|
||||||
|
|
||||||
public override void OnAccessibilityEvent(AccessibilityEvent e)
|
public override void OnAccessibilityEvent(AccessibilityEvent e)
|
||||||
{
|
{
|
||||||
|
var powerManager = (PowerManager)GetSystemService(PowerService);
|
||||||
|
if(!powerManager.IsInteractive)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var root = RootInActiveWindow;
|
var root = RootInActiveWindow;
|
||||||
|
|
Loading…
Reference in a new issue