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; var root = RootInActiveWindow;
if(e == null || root == null || string.IsNullOrWhiteSpace(e.PackageName) || 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; return;
} }