diff options
author | Prabir Pradhan <prabirmsp@google.com> | 2020-01-31 17:42:34 -0800 |
---|---|---|
committer | Garfield Tan <xutan@google.com> | 2020-05-28 14:03:22 -0700 |
commit | ca7d72347ec2890ffa4f6efda514b66334b7ac66 (patch) | |
tree | d64790052c6566dda92f1e6c6f044655c9be6b4b /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions