diff options
author | Super Liu <supercjliu@google.com> | 2023-05-29 08:50:04 +0000 |
---|---|---|
committer | Super Liu <supercjliu@google.com> | 2023-05-30 02:42:33 +0000 |
commit | 8bb6b764259410cf733baf7027e7303db057e874 (patch) | |
tree | cacdd5474fe812cfd186e5e1b73941235d1bfad9 | |
parent | cb1ce1fb12115861672af8282416ed591b14b038 (diff) | |
download | common-8bb6b764259410cf733baf7027e7303db057e874.tar.gz |
gti: Default enable the touch features of cancel and rotation reportingandroid-u-qpr1-beta-2_r0.7android-u-qpr1-beta-2_r0.5android-u-qpr1-beta-2_r0.4android-u-qpr1-beta-2_r0.3android-u-qpr1-beta-2_r0.2android-u-qpr1-beta-2_r0.1android-u-qpr1-beta-1_r0.7android-u-qpr1-beta-1_r0.5android-u-qpr1-beta-1_r0.4android-u-qpr1-beta-1_r0.3android-u-qpr1-beta-1_r0.2android-u-qpr1-beta-1_r0.1
Test: TH build pass.
Bug: 284790341
Change-Id: I566a5b1219609befea9f3fdf20fe5e95d4765e81
Signed-off-by: Super Liu <supercjliu@google.com>
-rw-r--r-- | goog_touch_interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/goog_touch_interface.c b/goog_touch_interface.c index 9741aeb..087fe16 100644 --- a/goog_touch_interface.c +++ b/goog_touch_interface.c @@ -2323,15 +2323,15 @@ int goog_offload_probe(struct goog_touch_interface *gti) gti->offload.caps.continuous_reporting = true; gti->offload.caps.noise_reporting = false; gti->offload.caps.cancel_reporting = - of_property_read_bool(np, "goog,offload-caps-cancel-reporting"); + !of_property_read_bool(np, "goog,offload-caps-cancel-reporting-disabled"); gti->offload.caps.size_reporting = true; gti->offload.caps.filter_grip = true; gti->offload.caps.filter_palm = true; gti->offload.caps.coord_filter = gti->coord_filter_enabled && of_property_read_bool(np, "goog,offload-caps-coord-filter"); gti->offload.caps.num_sensitivity_settings = 1; - gti->offload.caps.rotation_reporting = of_property_read_bool(np, - "goog,offload-caps-rotation-reporting"); + gti->offload.caps.rotation_reporting = + !of_property_read_bool(np, "goog,offload-caps-rotation-reporting-disabled"); gti->offload.hcallback = (void *)gti; gti->offload.report_cb = goog_offload_input_report; |