Two panel home empty page removing logic change

- Don't remove a single page if it's empty, only if both pages are empty.
- Add back empty pages after they were removed while the phone
  was on single panel home.
- On two panel home don't add new workspace items onto the second screen

Test: manual
Bug: 196376162
Change-Id: I4c54ffa3b359a236deb3ab67adb54111e77ec896
This commit is contained in:
Andras Kloczl committed 2021-08-26 12:06:50 +01:00
1 parent 12bfd96432
commit 8c574de97f
7 files changed
+62 -7

No files matched your search

+1 -1
View File
@@ -296,7 +296,7 @@ public class IntArray implements Cloneable, Iterable<Integer> {
@Override
public void remove() {
throw new UnsupportedOperationException();
removeIndex(--mNextIndex);
}
}
}