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

Commit 52e9d8f4 authored by Winson Chiu's avatar Winson Chiu Committed by Automerger Merge Worker
Browse files

Revert "Only allow BROWSABLE && DEFAULT Intents to be always opened" am: ffe45e44

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13728024

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1419659d16515aa1bbd63c5834e025c45e77cc09
parents 663162c3 ffe45e44
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -7152,13 +7152,6 @@ public class PackageManagerService extends IPackageManager.Stub
                            Slog.i(TAG, "  + always: " + info.activityInfo.packageName
                                    + " : linkgen=" + linkGeneration);
                        }
                        if (!intent.hasCategory(CATEGORY_BROWSABLE)
                                || !intent.hasCategory(CATEGORY_DEFAULT)) {
                            undefinedList.add(info);
                            continue;
                        }
                        // Use link-enabled generation as preferredOrder, i.e.
                        // prefer newly-enabled over earlier-enabled.
                        info.preferredOrder = linkGeneration;