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

- relax a bit Intent resolution. We should still include Apps that
do not support Web domains :-) so in that context add in the result
list the Apps that are with a status INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_UNDEFINED

Change-Id: Ibad7b7f577552ac75bba256bb387a75b83524958
This commit is contained in:
Fabrice Di Meglio
2015-04-09 13:07:50 -07:00
parent 7d014cec63
commit 53f35f4a20

View File

@@ -4022,7 +4022,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);