summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2019-12-27 15:17:44 +0100
committerJorim Jaggi <jjaggi@google.com>2020-01-06 23:50:39 +0100
commit0dd0cf911b26d3f9d95c8162553c9e2f2f266def (patch)
tree0a9a3829448f36c109054b3e7f9df9d93b07ec77 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4e15b28e8d343cb8c44d408d0baa03b4c7f9694b (diff)
Fix issue with letterboxing
- Only consider client state if new API is actually turned on. - We only sent the state the client was actually controlling. However, we then later check for visibility for state that may not even exist. Thus, we keep the state but only update the sources the client is actually controlling. - Initialize source with default visibility. This prevents issues where the source may not exist but we still check it. This fixes issues where a letterbox was accidentally placed on screen because WM was thinking client requested fullscreen flag (hiding the status bar), and other places where we checked requested visibility. Also renamed client state to requested state. Test: Open any app, open IME Bug: 111084606 Change-Id: Ibead561fc5593d8944400320f5e31dbe262612fe
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions