commit | f93fcf4c403fa4181536821680d495824a4290c5 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Wed Nov 22 16:00:14 2017 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Dec 06 14:14:25 2017 -0800 |
tree | 1470a2364ef7a33e5fd2713068f1eea4c619c69b | |
parent | 236c27118bb2267533b591efe9080e4730b6cb79 [diff] |
Prefer std::string over String8 String8 is obsolete, only use std::string in the input libraries now. Bug: 64258224 Test: make Change-Id: I958b6b281d969138f39cc26825c877a24bc4a853
diff --git a/services/inputflinger/tests/InputDispatcher_test.cpp b/services/inputflinger/tests/InputDispatcher_test.cpp index 7ae36d8..aa6df24 100644 --- a/services/inputflinger/tests/InputDispatcher_test.cpp +++ b/services/inputflinger/tests/InputDispatcher_test.cpp
@@ -54,7 +54,7 @@ virtual nsecs_t notifyANR(const sp<InputApplicationHandle>&, const sp<InputWindowHandle>&, - const String8&) { + const std::string&) { return 0; }
diff --git a/services/inputflinger/tests/InputReader_test.cpp b/services/inputflinger/tests/InputReader_test.cpp index 76291a5..0344ead 100644 --- a/services/inputflinger/tests/InputReader_test.cpp +++ b/services/inputflinger/tests/InputReader_test.cpp
@@ -798,7 +798,7 @@ return false; } - virtual void dump(String8&) { + virtual void dump(std::string&) { } virtual void monitor() {