Merge "Fix NPE"

This commit is contained in:
TreeHugger Robot
2020-11-30 19:56:15 +00:00
committed by Android (Google) Code Review

View File

@@ -274,7 +274,7 @@ public class PackageProperty {
private Property getApplicationProperty(String propertyName, String packageName) {
final ArrayMap<String, ArrayList<Property>> packagePropertyMap =
mApplicationProperties.get(propertyName);
mApplicationProperties != null ? mApplicationProperties.get(propertyName) : null;
if (packagePropertyMap == null) {
return null;
}