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