summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptGroup.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-04-04 18:36:02 -0700
committerJorim Jaggi <jjaggi@google.com>2016-04-08 20:49:20 -0700
commit8f5701bd9f1149d672d63758e522dcfaaa258a73 (patch)
treed437383a5eb947d27d144684c755fa25533b0190 /rs/java/android/renderscript/ScriptGroup.java
parent1f07649e7d0aedd1cd3c3237185be7e540e7a9f8 (diff)
Only force drawing status bar background if target >= N
Since forcing it all the time has the potential of breaking compatibility with apps, we don't want to do this. Instead, we only force it if the app targets >= N. We communicate this to window manager with PRIVATE_FLAG_FORCE_DRAW_STATUS_BAR_BACKGROUND. We introduced this for 2-up split-screen. If we have an app that doesn't draw the status bar background by itself, we just force the whole bar to be black. The same applies for windows that used translucent status bar - we also force the whole bar to be black Bug: 27285627 Change-Id: I7f1ceaa364f8a4e851935f77aa5e8d913bf11791
Diffstat (limited to 'rs/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions