Revert "Only allow BROWSABLE && DEFAULT Intents to be always opened" am: ffe45e4497
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13728024 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1419659d16515aa1bbd63c5834e025c45e77cc09
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user