We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db24d7e + 30631e9 commit 9af0a06Copy full SHA for 9af0a06
1 file changed
services/inputflinger/dispatcher/InputDispatcher.cpp
@@ -971,6 +971,9 @@ InputDispatcher::~InputDispatcher() {
971
resetKeyRepeatLocked();
972
releasePendingEventLocked();
973
drainInboundQueueLocked();
974
+#if defined(__ANDROID__)
975
+ SurfaceComposerClient::getDefault()->removeWindowInfosListener(mWindowInfoListener);
976
+#endif
977
mCommandQueue.clear();
978
}
979
0 commit comments