diff options
| author | 2024-02-08 16:35:29 -0500 | |
|---|---|---|
| committer | 2024-02-15 16:30:57 -0500 | |
| commit | 969cdcb60db538b55ba4e8a726a94e4140e33679 (patch) | |
| tree | 3b499bcf46a5ed2b6f38e31dcbb97d5b51f2f3cf /libs/gui/DisplayLuts.cpp | |
| parent | a51f1d637bf1315737467500dfcfe54319eafe4f (diff) | |
SF: Cache DisplayConnectionType on first call
The connection type is immutable, so avoid the unnecessary AIDL call to
getDisplayConnectionType for each setActiveConfigWithConstraints.
Fixes: 323905961
Test: HWComposerTest.getDisplayConnectionType
Change-Id: I925510e24bab6bd1665128e67a98611aa9b20cd4
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions