Enable resampling for palm rejection

To ensure the model works well for all devices, and not just limited to
120Hz, enable resampling.

Bug: 198472780
Test: verified on a tablet device
Merged-In: I2e42959134276277037887b7bbb2f83e070b545f
Change-Id: I2e42959134276277037887b7bbb2f83e070b545f
(cherry picked from commit d5a4763037fb3c1145c5de306718b313bee9c5b2)
diff --git a/services/inputflinger/UnwantedInteractionBlocker.cpp b/services/inputflinger/UnwantedInteractionBlocker.cpp
index e8930e3..3ee60a9 100644
--- a/services/inputflinger/UnwantedInteractionBlocker.cpp
+++ b/services/inputflinger/UnwantedInteractionBlocker.cpp
@@ -516,7 +516,9 @@
 public:
     AndroidPalmRejectionModel()
           : ::ui::OneDeviceTrainNeuralStylusPalmDetectionFilterModel(/*default version*/ "",
-                                                                     std::vector<float>()) {}
+                                                                     std::vector<float>()) {
+        config_.resample_touch = true;
+    }
 };
 
 PalmRejector::PalmRejector(const AndroidPalmFilterDeviceInfo& info,