Merge "Tab indicator of work tab should be in orange color" into ub-launcher3-master

This commit is contained in:
Tony Mak
2017-12-08 11:09:31 +00:00
committed by Android (Google) Code Review
4 changed files with 71 additions and 20 deletions

View File

@@ -61,7 +61,6 @@ import com.android.launcher3.util.ItemInfoMatcher;
import com.android.launcher3.util.PackageUserKey;
import com.android.launcher3.util.TransformingTouchDelegate;
import com.android.launcher3.views.BottomUserEducationView;
import com.android.launcher3.views.SlidingTabStrip;
import java.util.HashMap;
import java.util.List;
@@ -483,7 +482,7 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
if (mTabsPagerAdapter != null) {
return;
}
final SlidingTabStrip tabs = findViewById(R.id.tabs);
final PersonalWorkSlidingTabStrip tabs = findViewById(R.id.tabs);
mViewPager.setAdapter(mTabsPagerAdapter = new TabsPagerAdapter());
mViewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {