Created
November 12, 2014 09:14
-
-
Save robUx4/88bb103b45b2f514ad0e to your computer and use it in GitHub Desktop.
windowDrawsSystemBarBackgrounds WTF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Non-floating windows on high end devices must put up decor beneath the system bars and | |
// therefore must know about visibility changes of those. | |
if (!mIsFloating && ActivityManager.isHighEndGfx()) { | |
if (!targetPreL && a.getBoolean( | |
R.styleable.Window_windowDrawsSystemBarBackgrounds, | |
false)) { | |
setFlags(FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS, | |
FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS & ~getForcedWindowFlags()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment