1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-10 01:08:23 +02:00

filter out "launcher" apps from autofill service

This commit is contained in:
Kyle Spearrin 2017-09-12 15:54:08 -04:00
parent e4c96dc6d8
commit 96588089ef

View File

@ -83,7 +83,8 @@ namespace Bit.Android
{
var root = RootInActiveWindow;
if(e == null || root == null || string.IsNullOrWhiteSpace(e.PackageName) ||
e.PackageName == SystemUiPackage || root.PackageName != e.PackageName)
e.PackageName == SystemUiPackage || e.PackageName.Contains("launcher") ||
root.PackageName != e.PackageName)
{
return;
}