summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSiarhei Vishniakou <svv@google.com>2019-11-25 13:54:40 -0800
committerSiarhei Vishniakou <svv@google.com>2019-11-28 23:18:35 +0000
commitc570bfdb3d232daf420651ca74dc64c52b7a3146 (patch)
tree75215e80fbabb0bf24cef9fc800242c0cf695126 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4ca4a3639a5ef9e99542afd45a4b75c5f44d26ac (diff)
Send touch mode state to input
WindowManager remains the source of truth of the touchmode state. However, we need to keep a copy of this state in input. The apps determine the touch mode state. Therefore, a single app will affect the global state. That state change needs to be propagated to other apps, when they become focused. If the input dispatches focus to the apps instead of the WindowManager, input needs to keep a copy of the touch mode state. Since the touch mode state changes infrequently, this should not have performance impact. Bug: 70668286 Test: presubmit Change-Id: I44ca9cd87876bca65259043260f7e0da75d104ea
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions