mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Fix NPE
Bug: 6329157 Change-Id: Idd2db78890d196bcbfbe93640e07a96037638341
This commit is contained in:
@@ -436,6 +436,8 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
|
||||
|
||||
private void setVisibilityOfSiblingsWithLowerZOrder(int visibility) {
|
||||
ViewGroup parent = (ViewGroup) getParent();
|
||||
if (parent == null) return;
|
||||
|
||||
final int count = parent.getChildCount();
|
||||
if (!isChildrenDrawingOrderEnabled()) {
|
||||
for (int i = 0; i < count; i++) {
|
||||
|
||||
Reference in New Issue
Block a user