commit | ca7d72347ec2890ffa4f6efda514b66334b7ac66 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Fri Jan 31 17:42:34 2020 -0800 |
committer | Garfield Tan <xutan@google.com> | Thu May 28 14:03:22 2020 -0700 |
tree | d64790052c6566dda92f1e6c6f044655c9be6b4b | |
parent | b1b07be86024efb2aa27d1c63701d68b6df48047 [diff] |
PointerController: Add guards to ensure display is valid This change makes it so that PointerController does not ask its Policy to load any resources for any displays until a DisplayViewport is set, and verifies this with unit tests. Bug: 145699789 Bug: 146385350 Test: atest libinputservice_test Change-Id: I2e48e7ac4700e6f9fdf939a7bd0e6639b051ade6 Merged-In: I2e48e7ac4700e6f9fdf939a7bd0e6639b051ade6