mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Fix launcher preview for two panel home
Test: manual Bug: 185508060 Gif: http://shortn/_oOgKLjg5QC Change-Id: I216b3761b3bd15c7069b92aa4a1bff8ad655b767
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user