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
(cherry picked from commit ffe45e4497)
This commit is contained in:
@@ -7782,13 +7782,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