diff options
| author | 2023-08-14 21:52:44 +0000 | |
|---|---|---|
| committer | 2023-08-14 21:52:44 +0000 | |
| commit | b51cffeb38e0e34564e0113529ec272105e1bd37 (patch) | |
| tree | e287c5f6d10b274d9a82c3a4412684ce0b776ca4 /libs/gui/SurfaceComposerClient.cpp | |
| parent | ad3bdaf7909607fe83cdce78be0512bfca148fe3 (diff) | |
| parent | cee446c2515b6e7cd7b359a67f4774713e62ac4e (diff) | |
Merge "Add getStalledTransactionInfo method to SurfaceComposer" into udc-qpr-dev-plus-aosp
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index 0b20186610..180ed095d8 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -1302,6 +1302,13 @@ sp<IBinder> SurfaceComposerClient::getPhysicalDisplayToken(PhysicalDisplayId dis return status.isOk() ? display : nullptr; } +std::optional<gui::StalledTransactionInfo> SurfaceComposerClient::getStalledTransactionInfo( + pid_t pid) { + std::optional<gui::StalledTransactionInfo> result; + ComposerServiceAIDL::getComposerService()->getStalledTransactionInfo(pid, &result); + return result; +} + void SurfaceComposerClient::Transaction::setAnimationTransaction() { mAnimation = true; } |