Always reset viewpager in RTL layouts, whether or not it's tabbed.
Test: Repro instructions in bug Fixes: 169138573 Change-Id: I889c13150979ae4bf7410f53e3dc0bad798402c1
This commit is contained in:
@@ -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