commit | be845950a25620eca1d8a3a6cba48c38e5e5e8c4 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Fri Jan 31 17:42:34 2020 -0800 |
committer | Prabir Pradhan <prabirmsp@google.com> | Fri Feb 07 12:24:32 2020 -0800 |
tree | c6fd33018c5bc13553661731724babf47d6db787 | |
parent | e0d9b2a9ac4ea679c73edfd8e308540ffd35bc58 [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