commit | 4b2719075432f88f15d07995f2bc013c8aaaf993 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Wed Sep 01 08:04:21 2021 -0700 |
committer | Prabir Pradhan <prabirmsp@google.com> | Wed Sep 01 08:05:44 2021 -0700 |
tree | ad3fc0c2d16fddafe0a4f26e8480a7ae1084c721 | |
parent | 2f82408164165d90fd511734015ceba6d453fad2 [diff] |
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; }