improving theme

This commit is contained in:
Mariotaku Lee 2015-04-14 23:42:46 +08:00
parent 476b335a79
commit a998e690ab
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ public class ThemeUtils implements Constants {
}
public static void applyWindowBackground(Context context, Window window, int theme, String option, int alpha) {
if (window.isFloating()) return;
if (isWindowFloating(context, theme)) return;
if (VALUE_THEME_BACKGROUND_TRANSPARENT.equals(option)) {
window.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER);
window.setBackgroundDrawable(ThemeUtils.getWindowBackgroundApplyAlpha(context, alpha));