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

Commit e75b4822 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: f83d7992

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia9ad54a05bfebadde7cd9cb516342cb6d763c328
parents c202b083 f83d7992
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -7701,13 +7701,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;