InputMapper refactor: Rename configure to reconfigure
We are refactoring Input-mapper to ensure they are configured at
the time of initialisation.
In this CL, we start by renaming the InputMapper::configure method
to InputMapper::reconfigure.
Test: build, pre-submit, inputflinger_tests
Bug: 256009910
Change-Id: Ifafe1170d892285e904cf08115efdac9923420e7
diff --git a/services/inputflinger/tests/InputReader_test.cpp b/services/inputflinger/tests/InputReader_test.cpp
index 3d0fbb4..2223b35 100644
--- a/services/inputflinger/tests/InputReader_test.cpp
+++ b/services/inputflinger/tests/InputReader_test.cpp
@@ -263,8 +263,8 @@
}
}
- std::list<NotifyArgs> configure(nsecs_t, const InputReaderConfiguration* config,
- uint32_t changes) override {
+ std::list<NotifyArgs> reconfigure(nsecs_t, const InputReaderConfiguration* config,
+ uint32_t changes) override {
std::scoped_lock<std::mutex> lock(mLock);
mConfigureWasCalled = true;