diff options
| author | 2023-03-04 12:55:38 +0000 | |
|---|---|---|
| committer | 2023-03-04 12:55:38 +0000 | |
| commit | d3fbc898a508441a7fe2796a260ada810da5d415 (patch) | |
| tree | 6103479c2d3bab70d940ab4eebab24e737bc22f9 /libs | |
| parent | 4b20f9214b98c5b6ab6df6ec016e6878461ae899 (diff) | |
| parent | 4854af5fa5c713ddfefad8770b3cb9e7ae0a494f (diff) | |
Merge "Revert "Check if WindowInfosListener is present during remove"" into udc-dev
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/gui/WindowInfosListenerReporter.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/gui/WindowInfosListenerReporter.cpp b/libs/gui/WindowInfosListenerReporter.cpp index 2b34a0fc47..01e865da6a 100644 --- a/libs/gui/WindowInfosListenerReporter.cpp +++ b/libs/gui/WindowInfosListenerReporter.cpp @@ -62,10 +62,6 @@ status_t WindowInfosListenerReporter::removeWindowInfosListener( status_t status = OK; { std::scoped_lock lock(mListenersMutex); - if (mWindowInfosListeners.find(windowInfosListener) == mWindowInfosListeners.end()) { - return status; - } - if (mWindowInfosListeners.size() == 1) { binder::Status s = surfaceComposer->removeWindowInfosListener(this); status = statusTFromBinderStatus(s); |