commit | 584e5d9b3fb209bb60e64bf14f7968dd214f1fc3 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Thu Jul 09 22:10:21 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jul 09 22:10:21 2020 +0000 |
tree | 8858fab6b0e8f10b2922f9a36a59a224109c18ab | |
parent | 935cf8beb3f579946c75872b8f7d271085342596 [diff] | |
parent | a1a0c516621a6d02d2d9c0816a20565f5a31b684 [diff] |
Merge "Check if sensor is accessible on flush" into rvc-dev am: 9aacd0cffd am: a1a0c51662 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/12091816 Change-Id: I7d80d10945cc1011be96591bff92334c2bb04ab8
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 1342cfc..9d65f2f 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -2122,7 +2122,8 @@ mTimeStats->incrementCompositionStrategyChanges(); } - mVSyncModulator->onRefreshed(mHadClientComposition); + // TODO: b/160583065 Enable skip validation when SF caches all client composition layers + mVSyncModulator->onRefreshed(mHadClientComposition || mReusedClientComposition); mLayersWithQueuedFrames.clear(); if (mVisibleRegionsDirty) {