summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2021-09-28 14:44:57 -0700
committer Siarhei Vishniakou <svv@google.com> 2021-09-28 16:08:45 -0700
commit84b38799cd4f44d79ecfdcaf7a5de35e0edb38e7 (patch)
tree184317af59c25889c5141c4f957cfc5fcafe0052 /api/api.go
parent34aa961e7ba8c7086ae1c1c34a539a81ae05c1b1 (diff)
Use PlatformProperties to read VelocityTracker strategy
The VelocityTracker strategy is now going to be accessed from PlatformProperties. Update the usages in VelocityTracker. Also, dump the input-related properties in InputManager. Ideally, we would create a VelocityTracker and dump the strategy of the default-created VelocityTracker. However, that would require the following additional work: 1) Moving the VelocityTracker strategy initialization logic to native 2) Adding VelocityTracker to NativeInputManager's dump To avoid this additional work, just dump the system properties for now. Bug: 192439431 Test: run 'adb shell dumpsys input' and observe the output Output: ``` Input properties: per_window_input_rotation = false persist.input.velocitytracker.strategy = impulse Input Manager State: ``` Change-Id: I7594973f28abaf75edd39d03c952b5a057779a45
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions