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

Commit 71a85575 authored by Diego Perez's avatar Diego Perez
Browse files

Restore session params "no decoration" flag

This seems to have removed from a previous version and the theme editor
relies on it to remove the decoration around the preview.

Change-Id: Ifab99e9c1689bfe44ca593e8c66c24e57c3e8c4c
parent 8dbd4848
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -329,10 +329,13 @@ class Layout extends RelativeLayout {
            mWindowIsFloating = getBooleanThemeValue(mResources, ATTR_WINDOW_FLOATING, true, true);
            
            findBackground();

            if (!mParams.isForceNoDecor()) {
                findStatusBar();
                findActionBar();
                findNavBar();
            }
        }

        private void findBackground() {
            if (!mParams.isBgColorOverridden()) {