Highlight work tab when user already in All Apps after creating WP.
When a user created a work profile and was already in the All Apps view, the work tab was not highlighted, because the logic for that was only in AllAppsContainerView#onScrollUpEnd(). This CL highlights the tab when the user has resumed and the All Apps view is expanded. Bug: 79242814 Test: Manual Change-Id: I40af0d513c95f8084e21f4e276e9f56bcb06555e
This commit is contained in:
1 parent
58ad76fd62
commit
ad78305862
3 files changed
+18
-2
No files matched your search
@@ -486,8 +486,13 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
|
||||
}
|
||||
|
||||
public void onScrollUpEnd() {
|
||||
highlightWorkTabIfNecessary();
|
||||
}
|
||||
|
||||
void highlightWorkTabIfNecessary() {
|
||||
if (mUsingTabs) {
|
||||
((PersonalWorkSlidingTabStrip) findViewById(R.id.tabs)).highlightWorkTabIfNecessary();
|
||||
((PersonalWorkSlidingTabStrip) findViewById(R.id.tabs))
|
||||
.highlightWorkTabIfNecessary();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user