Fix the preview section incorrectly ordered of the display size and text.
Goals: Set correct order into.
Fix: 233326281
Test: manual test
Change-Id: I88c65aa9c3f05281a5c5090c2ca9503327bb580f
Merged-In: I88c65aa9c3f05281a5c5090c2ca9503327bb580f
(cherry picked from commit 4b13620457)
This commit is contained in:
@@ -108,6 +108,7 @@ class TextReadingPreviewController extends BasePreferenceController implements
|
||||
final PreviewPagerAdapter pagerAdapter = new PreviewPagerAdapter(mContext, isLayoutRtl,
|
||||
PREVIEW_SAMPLE_RES_IDS, createConfig(origConfig));
|
||||
mPreviewPreference.setPreviewAdapter(pagerAdapter);
|
||||
mPreviewPreference.setCurrentItem(isLayoutRtl ? PREVIEW_SAMPLE_RES_IDS.length - 1 : 0);
|
||||
pagerAdapter.setPreviewLayer(/* newLayerIndex= */ 0,
|
||||
/* currentLayerIndex= */ 0,
|
||||
/* currentFrameIndex= */ 0, /* animate= */ false);
|
||||
|
||||
Reference in New Issue
Block a user