From 55ef8a9026faea3088ef0bf6f8d97d34b045cc0a Mon Sep 17 00:00:00 2001 From: Andrew Chant Date: Mon, 24 Apr 2023 16:59:04 -0700 Subject: [PATCH] Allow InputProcessor HAL to read display resolution Cherry-pick of Change I23285c21a82748c63fbe20988af42884b9261b66 from Siarhei Vishniakou : Currently, there's no API to read the resolution from the system domain, so the HAL has to read this from the sysprop provided by the display code. Allow the HAL to do so in this CL. Bug: 236200710 Bug: 279510160 Change-Id: I449232d91533b6b9a40f2a6c4a91c511f5b38e3c --- legacy/whitechapel_pro/hal_input_processor_default.te | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 legacy/whitechapel_pro/hal_input_processor_default.te diff --git a/legacy/whitechapel_pro/hal_input_processor_default.te b/legacy/whitechapel_pro/hal_input_processor_default.te new file mode 100644 index 00000000..00d4c695 --- /dev/null +++ b/legacy/whitechapel_pro/hal_input_processor_default.te @@ -0,0 +1,2 @@ +# allow InputProcessor HAL to read the display resolution system property +get_prop(hal_input_processor_default, vendor_display_prop)