| 51 | } |
| 52 | |
| 53 | ISystemWindow *SystemWindowManager::getWindow(uint32_t windowId) const { |
| 54 | if (windowId == 0) { |
| 55 | return nullptr; |
| 56 | } |
| 57 | |
| 58 | auto iter = _windows.find(windowId); |
| 59 | if (iter != _windows.end()) { |
| 60 | return iter->second.get(); |
| 61 | } |
| 62 | return nullptr; |
| 63 | } |
| 64 | |
| 65 | ISystemWindow *SystemWindowManager::getWindowFromANativeWindow(ANativeWindow *window) const { |
| 66 | if (!window) { |
no test coverage detected