mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Merge "Fix NPE from feedback (issue 12106858)" into jb-ub-now-kermit
This commit is contained in:
@@ -1657,7 +1657,7 @@ public class Workspace extends SmoothPagedView
|
||||
cl.setOverscrollTransformsDirty(true);
|
||||
}
|
||||
} else {
|
||||
if (mOverscrollTransformsSet) {
|
||||
if (mOverscrollTransformsSet && getChildCount() > 0) {
|
||||
mOverscrollTransformsSet = false;
|
||||
((CellLayout) getChildAt(0)).resetOverscrollTransforms();
|
||||
((CellLayout) getChildAt(getChildCount() - 1)).resetOverscrollTransforms();
|
||||
|
||||
Reference in New Issue
Block a user