summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-08-10 18:13:48 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-08-10 18:13:48 +0000
commitbd6132861713cfea223c0636cf74fc9e32c965ec (patch)
tree4b79f896bf559cc4854acdecb230df2dc2bff2be
parent00e4a6e99a028bb1639ab1a1dc98a93eec007185 (diff)
parent3c2d6f59d4b84f341cf76b5a8b999b3317d089b3 (diff)
Merge "Update language to comply with Android's inclusive language guidance"
-rw-r--r--services/inputflinger/dispatcher/InputDispatcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/inputflinger/dispatcher/InputDispatcher.cpp b/services/inputflinger/dispatcher/InputDispatcher.cpp
index 5ba5ad8282..44f26b0de8 100644
--- a/services/inputflinger/dispatcher/InputDispatcher.cpp
+++ b/services/inputflinger/dispatcher/InputDispatcher.cpp
@@ -3947,7 +3947,7 @@ void InputDispatcher::setFocusedDisplay(int32_t displayId) {
}
mFocusedDisplayId = displayId;
- // Sanity check
+ // Find new focused window and validate
sp<InputWindowHandle> newFocusedWindowHandle =
getValueByKey(mFocusedWindowHandlesByDisplay, displayId);
notifyFocusChangedLocked(oldFocusedWindowHandle, newFocusedWindowHandle);