Merge "Always reset viewpager in RTL layouts, whether or not it's tabbed."
This commit is contained in:
committed by
Android (Google) Code Review
commit
0b379c9098
@@ -1090,7 +1090,7 @@ public class ChooserActivity extends ResolverActivity implements
|
||||
public void onConfigurationChanged(Configuration newConfig) {
|
||||
super.onConfigurationChanged(newConfig);
|
||||
ViewPager viewPager = findViewById(R.id.profile_pager);
|
||||
if (shouldShowTabs() && viewPager.isLayoutRtl()) {
|
||||
if (viewPager.isLayoutRtl()) {
|
||||
mMultiProfilePagerAdapter.setupViewPager(viewPager);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user