Merge "Fixes a crash when turning off workprofile while the workprofile tab is active." into ub-launcher3-edmonton
This commit is contained in:
commit
48059dc706
|
@ -96,7 +96,7 @@ public class FloatingHeaderView extends LinearLayout implements
|
||||||
mMainRV = setupRV(mMainRV, mAH[AllAppsContainerView.AdapterHolder.MAIN].recyclerView);
|
mMainRV = setupRV(mMainRV, mAH[AllAppsContainerView.AdapterHolder.MAIN].recyclerView);
|
||||||
mWorkRV = setupRV(mWorkRV, mAH[AllAppsContainerView.AdapterHolder.WORK].recyclerView);
|
mWorkRV = setupRV(mWorkRV, mAH[AllAppsContainerView.AdapterHolder.WORK].recyclerView);
|
||||||
mParent = (ViewGroup) mMainRV.getParent();
|
mParent = (ViewGroup) mMainRV.getParent();
|
||||||
setMainActive(mMainRVActive);
|
setMainActive(mMainRVActive || mWorkRV == null);
|
||||||
reset(false);
|
reset(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue