Fix launcher preview for two panel home

Test: manual
Bug: 185508060
Gif: http://shortn/_oOgKLjg5QC
Change-Id: I216b3761b3bd15c7069b92aa4a1bff8ad655b767
This commit is contained in:
Andras Kloczl committed 2021-07-13 23:13:17 +02:00
1 parent e23dd92a55
commit ac3f08558c
6 files changed
+123 -21

No files matched your search

@@ -101,6 +101,15 @@ public class IntSet implements Iterable<Integer> {
return wrap(IntArray.wrap(array));
}
/**
* Returns an IntSet with the given values.
*/
public static IntSet wrap(Iterable<Integer> iterable) {
IntSet set = new IntSet();
iterable.forEach(set::add);
return set;
}
@Override
public Iterator<Integer> iterator() {
return mArray.iterator();