Merge "Use ArraySet#add() instead of ArraySet#append()"
This commit is contained in:
commit
a536692e6a
1 changed files with 1 additions and 1 deletions
|
|
@ -1866,7 +1866,7 @@ public final class NetworkCapabilities implements Parcelable {
|
|||
final ArraySet<T> result = new ArraySet<>(size);
|
||||
for (int i = 0; i < size; i++) {
|
||||
final T value = in.readParcelable(loader);
|
||||
result.append(value);
|
||||
result.add(value);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue