diff options
author | 2019-09-26 20:01:25 +0000 | |
---|---|---|
committer | 2019-09-26 20:01:25 +0000 | |
commit | 0c1abd12f9b032e9150a0c12ee40d546cc314bec (patch) | |
tree | 6c0b0120b5edb87fbe7ab3f94350b4cf28c44fc6 /services/inputflinger/InputManager.cpp | |
parent | 4f330b8eca915554e9f59c4f8f98ebddbcb81203 (diff) | |
parent | 394eed0255ffa1802375686d9fa78999b04e1753 (diff) |
Merge changes from topics "inputdispatcher-split-aosp", "inputreader-split-aosp"
* changes:
Create inputmappers and accumulators directories
Split InputReader into multiple files
Create inputreader directory
Divide InputDispatcher into several files.
Move InputDispatcher code into a folder.
Diffstat (limited to 'services/inputflinger/InputManager.cpp')
-rw-r--r-- | services/inputflinger/InputManager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/inputflinger/InputManager.cpp b/services/inputflinger/InputManager.cpp index 3996cca646..359325faed 100644 --- a/services/inputflinger/InputManager.cpp +++ b/services/inputflinger/InputManager.cpp @@ -19,6 +19,8 @@ //#define LOG_NDEBUG 0 #include "InputManager.h" +#include "InputDispatcherFactory.h" +#include "InputDispatcherThread.h" #include "InputReaderFactory.h" #include <binder/IPCThreadState.h> @@ -33,7 +35,7 @@ namespace android { InputManager::InputManager( const sp<InputReaderPolicyInterface>& readerPolicy, const sp<InputDispatcherPolicyInterface>& dispatcherPolicy) { - mDispatcher = new InputDispatcher(dispatcherPolicy); + mDispatcher = createInputDispatcher(dispatcherPolicy); mClassifier = new InputClassifier(mDispatcher); mReader = createInputReader(readerPolicy, mClassifier); initialize(); |