[RESTRICT AUTOMERGE]: CTS test fix for Android Security CVE-2019-2004
This file has multiple inconsistencies across branches.
This is cleaning it up.
Bug: 115739809
Bug: 120630087
Test: cts-tradefed run cts -m CtsSecurityBulletinHostTestCases -t android.security.cts.Poc19_03#testPocBug_115739809
Change-Id: Iaee64da04578f33ce6161dc15f7bf9735582c770
diff --git a/hostsidetests/securitybulletin/securityPatch/Bug-115739809/poc.cpp b/hostsidetests/securitybulletin/securityPatch/Bug-115739809/poc.cpp
index 54e70cb1..761e529 100755
--- a/hostsidetests/securitybulletin/securityPatch/Bug-115739809/poc.cpp
+++ b/hostsidetests/securitybulletin/securityPatch/Bug-115739809/poc.cpp
@@ -190,7 +190,7 @@
int main() {
sp<InputChannel> server, client;
- status_t result = InputChannel::openInputChannelPair(String8("channel name").string(), server, client);
+ status_t result = InputChannel::openInputChannelPair("channel name", server, client);
if (result != OK) {
ALOGE("Could not open input channel pair");
return 0;