diff options
| author | 2020-08-20 15:33:51 +0000 | |
|---|---|---|
| committer | 2020-08-20 15:33:51 +0000 | |
| commit | 2adf8fd1894c368df073a7fdad4288668c0ff4e3 (patch) | |
| tree | 8446069698eb4b761f56134bf05ffae861d76d8e /services/surfaceflinger/SurfaceFlinger.cpp | |
| parent | f3f6d1d5367decca1946abb8b2c75c9de0fa8726 (diff) | |
| parent | 308ddba68bc59234fba9a509d81cc2708d195c3a (diff) | |
Merge "Check status for every ISurfaceComposer Parcel"
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 884e7d26cb..2b642a2590 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -3356,7 +3356,7 @@ bool SurfaceFlinger::transactionIsReadyToBeApplied(int64_t desiredPresentTime, return true; } -void SurfaceFlinger::setTransactionState( +status_t SurfaceFlinger::setTransactionState( const Vector<ComposerState>& states, const Vector<DisplayState>& displays, uint32_t flags, const sp<IBinder>& applyToken, const InputWindowCommands& inputWindowCommands, int64_t desiredPresentTime, const client_cache_t& uncacheBuffer, bool hasListenerCallbacks, @@ -3402,12 +3402,13 @@ void SurfaceFlinger::setTransactionState( hasListenerCallbacks, listenerCallbacks, originPID, originUID); setTransactionFlags(eTransactionFlushNeeded); - return; + return NO_ERROR; } applyTransactionState(states, displays, flags, inputWindowCommands, desiredPresentTime, uncacheBuffer, postTime, privileged, hasListenerCallbacks, listenerCallbacks, originPID, originUID, /*isMainThread*/ false); + return NO_ERROR; } void SurfaceFlinger::applyTransactionState( |