Preventing unnecessary setLayout calls in workspace
Separating getSystemProperty in a separate method Change-Id: I88716e796e29ac27ef25afa41077a8f29eb65f25
This commit is contained in:
1 parent
0a6dde7265
commit
dfc8b6685b
2 files changed
+10
-5
No files matched your search
@@ -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