Fixes a crash when turning off workprofile while the workprofile tab is
active. Bug: 79735930 Change-Id: Iafaddf827e648c9d39df78393a96f90dfc86fcca
This commit is contained in:
parent
d9a1337b40
commit
d460c084eb
|
@ -96,7 +96,7 @@ public class FloatingHeaderView extends LinearLayout implements
|
|||
mMainRV = setupRV(mMainRV, mAH[AllAppsContainerView.AdapterHolder.MAIN].recyclerView);
|
||||
mWorkRV = setupRV(mWorkRV, mAH[AllAppsContainerView.AdapterHolder.WORK].recyclerView);
|
||||
mParent = (ViewGroup) mMainRV.getParent();
|
||||
setMainActive(mMainRVActive);
|
||||
setMainActive(mMainRVActive || mWorkRV == null);
|
||||
reset(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue