diff options
| author | 2024-09-06 18:30:04 +0800 | |
|---|---|---|
| committer | 2024-09-09 10:42:19 +0800 | |
| commit | d4ed15d09bddf751a5851336844904768ed4f549 (patch) | |
| tree | ef9438b9391ff24cbad5ba27f3fc01229d5e7b98 /libs/input/PointerController.cpp | |
| parent | 8834b35c199efdd9ad3ea7ce24cf7439579a165b (diff) | |
Remove explicit creation of SurfaceSession in WM shell
Because it is a stateless connection object to SF, it is unnecessary
to have individual connections from each functions.
There were already several places use null for SurfaceControl.Builder,
so the singleton instance SurfaceComposerClient::getDefault() is
already in use. Then just use that one. That reduces unnecessary
IPC to SF when creating surface.
Bug: 163976519
Flag: EXEMPT reduce unnecessary invocation
Test: atest SplitTransitionTests
Change-Id: I4750ab7dc6e8544e2060ec89207f09f1241966ad
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions