Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf5053a3 authored by Anas Karbila's avatar Anas Karbila Committed by android-build-merger
Browse files

Merge "Settings: PreviewPagerAdapter: copy the full theme" am: b6bbbc91 am: aaf9fdc5

am: bffc5230

Change-Id: I545673221d7218cbc8d8196ebb8714c6d822d51a
parents e4d80f99 bffc5230
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ public class PreviewPagerAdapter extends PagerAdapter {
                // Create a new configuration for the specified value. It won't
                // have any theme set, so manually apply the current theme.
                final Context configContext = context.createConfigurationContext(configurations[j]);
                configContext.setTheme(context.getThemeResId());
                configContext.getTheme().setTo(context.getTheme());

                final LayoutInflater configInflater = LayoutInflater.from(configContext);
                final ViewStub sampleViewStub = new ViewStub(configContext);