mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Preventing unnecessary setLayout calls in workspace
Separating getSystemProperty in a separate method Change-Id: I88716e796e29ac27ef25afa41077a8f29eb65f25
This commit is contained in:
@@ -624,8 +624,8 @@ public class Workspace extends PagedView
|
||||
ViewGroup.LayoutParams lp = qsbContainer.getLayoutParams();
|
||||
if (cellHeight > 0 && lp.height != cellHeight) {
|
||||
lp.height = cellHeight;
|
||||
qsbContainer.setLayoutParams(lp);
|
||||
}
|
||||
qsbContainer.setLayoutParams(lp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user