Merge "Refactor PermissionsState to be a data class for migration."
This commit is contained in:
committed by
Android (Google) Code Review
commit
fbffe3f137
@@ -143,6 +143,17 @@ public class IntArray implements Cloneable {
|
||||
mSize += count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the values in the specified array to this array.
|
||||
*/
|
||||
public void addAll(int[] values) {
|
||||
final int count = values.length;
|
||||
ensureCapacity(count);
|
||||
|
||||
System.arraycopy(values, 0, mValues, mSize, count);
|
||||
mSize += count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensures capacity to append at least <code>count</code> values.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user