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

Commit 2ef71e3c authored by Winson Chiu's avatar Winson Chiu
Browse files

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

Reason for revert: Punted to future release due to invalid fix

Bug: 175319005

Merged-In: I00b78d596ee05c5a4a228771bbf8082af2b0ab8a
Merged-In: I78284e0a0dd5c41345753cdd2ed9a518db1df930
Change-Id: I78284e0a0dd5c41345753cdd2ed9a518db1df930
parent 5fc03a16
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -7725,13 +7725,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;