Change to sysprop

The configstore will be deprecated after next android version. So all
config is changed to sysprop.

Bug: 124531214
Test: m -j
Change-Id: I81beaf83eff07667529929a8a673e92b794fef92
Merged-In: I81beaf83eff07667529929a8a673e92b794fef92
(cherry picked from commit ff5ff7e2364b2dc8a6add06069988fbcde5c4037)
diff --git a/shared/BoardConfig.mk b/shared/BoardConfig.mk
index 1bc3718..3e5fe6b 100644
--- a/shared/BoardConfig.mk
+++ b/shared/BoardConfig.mk
@@ -129,10 +129,6 @@
 
 INIT_BOOTCHART := true
 
-# Need this so that the application's loop on reading input can be synchronized
-# with HW VSYNC
-TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true
-
 # Settings for dhcpcd-6.8.2.
 DHCPCD_USE_IPV6 := no
 DHCPCD_USE_DBUS := no
diff --git a/shared/device.mk b/shared/device.mk
index 5b1065a..8986f0d 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -384,3 +384,7 @@
 PRODUCT_EXTRA_VNDK_VERSIONS := 28 29
 
 PRODUCT_SOONG_NAMESPACES += external/mesa3d
+
+# Need this so that the application's loop on reading input can be synchronized
+# with HW VSYNC
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.running_without_sync_framework=true