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
This commit is contained in:
Diego Perez
2015-08-03 14:20:18 +01:00
parent 8dbd484850
commit 71a85575d4

View File

@@ -329,9 +329,12 @@ class Layout extends RelativeLayout {
mWindowIsFloating = getBooleanThemeValue(mResources, ATTR_WINDOW_FLOATING, true, true);
findBackground();
findStatusBar();
findActionBar();
findNavBar();
if (!mParams.isForceNoDecor()) {
findStatusBar();
findActionBar();
findNavBar();
}
}
private void findBackground() {