summaryrefslogtreecommitdiff
path: root/services/inputflinger/InputReaderBase.cpp
diff options
context:
space:
mode:
author Xin Li <delphij@google.com> 2021-12-14 20:26:07 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-12-14 20:26:07 +0000
commitc328fab955bb9535d7bc6333698a7d91339cef35 (patch)
treea8f1c721f1be2530af5a91ac8165f4230f6653b6 /services/inputflinger/InputReaderBase.cpp
parent4cb83a07bb30d07157ba958715e6c036664fb845 (diff)
parent5bea2cc7cd1795a068cd1c94a451d1ea739b0dfe (diff)
Merge "Merge Android 12 QPR1"
Diffstat (limited to 'services/inputflinger/InputReaderBase.cpp')
-rw-r--r--services/inputflinger/InputReaderBase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/inputflinger/InputReaderBase.cpp b/services/inputflinger/InputReaderBase.cpp
index 9cc777d450..d34482f506 100644
--- a/services/inputflinger/InputReaderBase.cpp
+++ b/services/inputflinger/InputReaderBase.cpp
@@ -67,6 +67,9 @@ std::string InputReaderConfiguration::changesToString(uint32_t changes) {
if (changes & CHANGE_EXTERNAL_STYLUS_PRESENCE) {
result += "EXTERNAL_STYLUS_PRESENCE | ";
}
+ if (changes & CHANGE_POINTER_CAPTURE) {
+ result += "POINTER_CAPTURE | ";
+ }
if (changes & CHANGE_ENABLED_STATE) {
result += "ENABLED_STATE | ";
}