Fix bug where Files app keeps getting added to the workspace.

Caused by mainline updates where Files app session commit is broadcasted.
Launcher workaround is to not auto-add system apps to the workspace.

Bug: 139663018
Change-Id: Id61532bd0df2cd5f3bdfc28a3616ba5e5ff3d18a
This commit is contained in:
Jon Miranda committed 2019-10-30 09:56:44 -07:00
1 parent dafd8d9225
commit a8109fb98c
2 files changed
+8

No files matched your search

@@ -236,6 +236,9 @@ public class PackageManagerHelper {
} else {
packageName = cn.getPackageName();
}
if (packageName == null) {
packageName = intent.getPackage();
}
if (packageName != null) {
try {
PackageInfo info = pm.getPackageInfo(packageName, 0);