OSDN Git Service

Remove Arrays.checkOffsetAndCount from the greylist.
authorPete Gillin <peteg@google.com>
Tue, 22 May 2018 15:00:57 +0000 (16:00 +0100)
committerPete Gillin <peteg@google.com>
Wed, 23 May 2018 13:01:16 +0000 (14:01 +0100)
This method is being removed. All usages of this @hide method in the
platform have already been removed. For an analysis of the usage in
apps, see the bug.

This change also reorders a few methods using sort_api.sh, because a
presubmit check required it.

Bug: 78447530
Test: cts-tradefed run cts-dev -m CtsLibcoreTestCases
Change-Id: Ic89cf0775170393fe906f581364bff0e852958ef

config/hiddenapi-light-greylist.txt

index d9cedaf..8db7de3 100644 (file)
@@ -8803,7 +8803,6 @@ Ljava/util/ArrayList$SubList;->size:I
 Ljava/util/ArrayList;->elementData:[Ljava/lang/Object;
 Ljava/util/ArrayList;->size:I
 Ljava/util/Arrays$ArrayList;->a:[Ljava/lang/Object;
-Ljava/util/Arrays;->checkOffsetAndCount(III)V
 Ljava/util/Arrays;->deepToString([Ljava/lang/Object;Ljava/lang/StringBuilder;Ljava/util/Set;)V
 Ljava/util/Calendar;->zone:Ljava/util/TimeZone;
 Ljava/util/Collections$EmptyList;-><init>()V