Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53f35f4a authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

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
parent 7d014cec
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);