Ignore com.android activity that sometimes shows up in other packages

This commit is contained in:
baldurk
2021-09-15 11:31:54 +01:00
parent 21e5aa8bcf
commit 46ffa9de79
+1 -1
View File
@@ -96,7 +96,7 @@ rdcstr GetDefaultActivityForPackage(const rdcstr &deviceID, const rdcstr &packag
{
line.trim();
if(line.beginsWith("name="))
if(line.beginsWith("name=") && !line.contains("com.android"))
{
return line.substr(5);
}