summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2022-02-15 11:03:55 -0800
committer Ady Abraham <adyabr@google.com> 2022-02-15 11:03:55 -0800
commit67362e316eec91896d49570f4af969fdb2b8322d (patch)
tree0258e71e9c53c35d5e3617aee52f8a524bcb4461
parent16f48f110c7a0e82c5962419d551b7aef7763914 (diff)
SF: enable latch unsignaled for single layer by default
Bug: 205153280 Test: modified TouchLatency app with long draws Change-Id: Ib9b156af1bcd901af7444ffbf2d937be83ea1368
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 2e21225598..97a8eff257 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -505,7 +505,7 @@ LatchUnsignaledConfig SurfaceFlinger::getLatchUnsignaledConfig() {
return LatchUnsignaledConfig::Always;
}
- if (base::GetBoolProperty("debug.sf.auto_latch_unsignaled"s, false)) {
+ if (base::GetBoolProperty("debug.sf.auto_latch_unsignaled"s, true)) {
return LatchUnsignaledConfig::AutoSingleLayer;
}