Add more debug info for missing required package.

Bug: 226411238
Test: presubmit
Change-Id: Ie777adc8e31e82e34303b2273234d601d403e2ab
This commit is contained in:
Alex Buynytskyy
2022-04-04 14:14:40 -07:00
parent dbda026b6f
commit 063ce67018

View File

@@ -3536,6 +3536,8 @@ public class PackageManagerService implements PackageSender, TestUtilityService
EventLog.writeEvent(0x534e4554, "145981139", packageInfo.applicationInfo.uid,
"");
}
Log.w(TAG, "Missing required system package: " + packageName + (packageInfo != null
? ", but found with extended search." : "."));
return null;
}
} finally {