Polish work for work profile

Bug: 191478900 Work profile toggle specs
Bug: 187761192 Fix issue where Installing app scrolling apps to top
Bug: 191121890	Fix issue where top of AllApps becomes empty when returning to AllApps
Bug: 191477329 String change for work profile paused state
Test: local
Change-Id: Idbaab333566b54afa3dc879f5bea98e1f77c44fc
This commit is contained in:
Samuel Fufa
2021-06-18 17:23:48 -05:00
parent 2f65e7f274
commit ce820f51e2
8 changed files with 24 additions and 17 deletions
@@ -105,9 +105,8 @@ public class SpringRelativeLayout extends RelativeLayout {
@NonNull @Override
protected EdgeEffect createEdgeEffect(RecyclerView view, int direction) {
switch (direction) {
case DIRECTION_TOP:
return new EdgeEffectProxy(getContext(), mEdgeGlowTop);
if (direction == DIRECTION_TOP) {
return new EdgeEffectProxy(getContext(), mEdgeGlowTop);
}
return super.createEdgeEffect(view, direction);
}