commit | 6e1d5ad96dd9f3a704e4050adcb0931f231d95e5 | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Thu Jan 16 14:18:22 2020 +0000 |
committer | Tony Mak <tonymak@google.com> | Tue Jan 21 11:23:50 2020 +0000 |
tree | 1c16e88fcde388d612abfe6cde62abf4a901b85a | |
parent | 14763d14973bc53a788ddb3d326c475639337fb8 [diff] |
Refactor TCMS by centralizing the request handling logic All the requests handling methods (e.g. onSuggestSelection, onClassifyText) are implemented in a very similar fashion. Pull out the logic to the handleRequest() method. This is also for the preparation of the upcoming CL that will introduce the default System TC. Test: mts run mts-extservices BUG: 148049185 Change-Id: I8fe74bf74b709cc7d204528c483ba285b25969e1