Use PointerCaptureRequest in CTS hostsidetest

Bug: 195312888
Test: presubmit
Change-Id: I335908b59850ebc2c6adb61ffc07a49d07a9c0f4
diff --git a/hostsidetests/securitybulletin/securityPatch/CVE-2021-0684/poc.cpp b/hostsidetests/securitybulletin/securityPatch/CVE-2021-0684/poc.cpp
index 8aa617e..3476134 100644
--- a/hostsidetests/securitybulletin/securityPatch/CVE-2021-0684/poc.cpp
+++ b/hostsidetests/securitybulletin/securityPatch/CVE-2021-0684/poc.cpp
@@ -249,7 +249,9 @@
 
     void setTouchAffineTransformation(const TouchAffineTransformation t) { transform = t; }
 
-    void setPointerCapture(bool enabled) { mConfig.pointerCapture = enabled; }
+    void setPointerCapture(const PointerCaptureRequest& request) {
+        mConfig.pointerCaptureRequest = request;
+    }
 
     void setShowTouches(bool enabled) { mConfig.showTouches = enabled; }