Merge "Fix bug #20128771 All apps disappeared from app drawer after AAZ08 OTA"

This commit is contained in:
Fabrice Di Meglio
2015-04-09 20:13:54 +00:00
committed by Android (Google) Code Review

View File

@@ -4010,7 +4010,8 @@ public class PackageManagerService extends IPackageManager.Stub {
if (ps != null) {
// Try to get the status from User settings first
int status = getDomainVerificationStatusLPr(ps, userId);
if (status == INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS) {
if (status == INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_ALWAYS ||
status == INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED) {
result.add(info);
} else if (status == INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER) {
neverList.add(info);