commit | 87112a7b0f769a096d2101d9456c6360cb61617c | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Thu Apr 20 19:13:39 2023 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Thu Apr 20 21:36:10 2023 +0000 |
tree | 019b44208ffefe693ff779dc2bb05f12d3aed079 | |
parent | 98447e452389f6fdecf09464de373b41a430b5da [diff] [blame] |
Notify dispatcher when its configuration needs to be updated Bug: 278992287 Test: Presubmit Change-Id: Ieb743ee37b818affb09baa420d2e75f0a694a2f0
diff --git a/services/inputflinger/dispatcher/include/InputDispatcherInterface.h b/services/inputflinger/dispatcher/include/InputDispatcherInterface.h index 76dce63..c752ddd 100644 --- a/services/inputflinger/dispatcher/include/InputDispatcherInterface.h +++ b/services/inputflinger/dispatcher/include/InputDispatcherInterface.h
@@ -225,6 +225,12 @@ * Abort the current touch stream. */ virtual void cancelCurrentTouch() = 0; + + /** + * Request that the InputDispatcher's configuration, which can be obtained through the policy, + * be updated. + */ + virtual void requestRefreshConfiguration() = 0; }; } // namespace android