fix: Disable material expressive folder expansion animations
This commit is contained in:
@@ -19,6 +19,8 @@ package com.android.launcher3.util;
|
||||
import android.util.SparseArray;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.stream.Stream;
|
||||
import java.util.stream.StreamSupport;
|
||||
|
||||
/**
|
||||
* Extension of {@link SparseArray} with some utility methods.
|
||||
@@ -43,6 +45,10 @@ public class IntSparseArrayMap<E> extends SparseArray<E> implements Iterable<E>
|
||||
return new ValueIterator();
|
||||
}
|
||||
|
||||
public Stream<E> stream() {
|
||||
return StreamSupport.stream(spliterator(), false);
|
||||
}
|
||||
|
||||
@Thunk class ValueIterator implements Iterator<E> {
|
||||
|
||||
private int mNextIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user