Clean up work profile
This includes - Dismiss work edu on launcher state change - Remove work tab flash on first setup - Make edu bottom sheet adopt theme color - Fix Work toggle bottom inset Bug: 149200572 Bug: 149197172 Bug: 149199058 Bug: 149215103 Bug: 149198955 Bug: 145595763 Bug:149481723 Test: Manual Change-Id: I39a30782b80fd3a66bede55754fa30a940d2caee
This commit is contained in:
@@ -248,18 +248,6 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
|
||||
private void onProgressAnimationEnd() {
|
||||
if (Float.compare(mProgress, 1f) == 0) {
|
||||
mAppsView.reset(false /* animate */);
|
||||
} else if (isAllAppsExpanded()) {
|
||||
mAppsView.onScrollUpEnd();
|
||||
}
|
||||
}
|
||||
|
||||
private boolean isAllAppsExpanded() {
|
||||
return Float.compare(mProgress, 0f) == 0;
|
||||
}
|
||||
|
||||
public void highlightWorkTabIfNecessary() {
|
||||
if (isAllAppsExpanded()) {
|
||||
mAppsView.highlightWorkTabIfNecessary();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user