Revert "Increase MAX_ATTRIBUTIONS to 10000"

This reverts commit f9933b7d18.

Reason for revert: b/185482967

Change-Id: If0700210ce79b42cf8e80946a6c23b82ea99469e
This commit is contained in:
Jorge Moreira Broche
2021-04-15 19:47:43 +00:00
parent f9933b7d18
commit ac9d5cd7ec

View File

@@ -40,7 +40,7 @@ public class ParsedAttribution implements Parcelable {
public static final int MAX_ATTRIBUTION_TAG_LEN = 50;
/** Maximum amount of attributions per package */
private static final int MAX_NUM_ATTRIBUTIONS = 10000;
private static final int MAX_NUM_ATTRIBUTIONS = 1000;
/** Tag of the attribution */
public final @NonNull String tag;
@@ -100,7 +100,7 @@ public class ParsedAttribution implements Parcelable {
// Code below generated by codegen v1.0.23.
// Code below generated by codegen v1.0.22.
//
// DO NOT MODIFY!
// CHECKSTYLE:OFF Generated code
@@ -215,8 +215,8 @@ public class ParsedAttribution implements Parcelable {
};
@DataClass.Generated(
time = 1618351459610L,
codegenVersion = "1.0.23",
time = 1607463855175L,
codegenVersion = "1.0.22",
sourceFile = "frameworks/base/core/java/android/content/pm/parsing/component/ParsedAttribution.java",
inputSignatures = "public static final int MAX_ATTRIBUTION_TAG_LEN\nprivate static final int MAX_NUM_ATTRIBUTIONS\npublic final @android.annotation.NonNull java.lang.String tag\npublic final @android.annotation.StringRes int label\npublic final @android.annotation.NonNull java.util.List<java.lang.String> inheritFrom\npublic static boolean isCombinationValid(java.util.List<android.content.pm.parsing.component.ParsedAttribution>)\nclass ParsedAttribution extends java.lang.Object implements [android.os.Parcelable]\n@com.android.internal.util.DataClass(genAidl=false)")
@Deprecated