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

Commit 2ef131c3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Expressive design] Fix theme issues" into main

parents 5a911013 650f4e1d
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -508,6 +508,17 @@ public class SettingsActivity extends SettingsBaseActivity
        super.onApplyThemeResource(theme, resid, first);
    }

    /** Returns the current theme and checks if needing to apply expressive theme. */
    @Override
    public Theme getTheme() {
        Theme theme = super.getTheme();
        theme.applyStyle(
                SettingsThemeHelper.isExpressiveTheme(this)
                        ? R.style.Theme_SubSettings_Expressive
                        : R.style.Theme_SubSettings, true);
        return theme;
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
        super.onActivityResult(requestCode, resultCode, data);