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
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/config/manifest.xml b/shared/config/manifest.xml
index b73d12d..f8fbffb 100644
--- a/shared/config/manifest.xml
+++ b/shared/config/manifest.xml
@@ -85,15 +85,6 @@
             <instance>default</instance>
         </interface>
     </hal>
-    <hal format="hidl">
-        <name>android.hardware.configstore</name>
-        <transport>hwbinder</transport>
-        <version>1.1</version>
-        <interface>
-            <name>ISurfaceFlingerConfigs</name>
-            <instance>default</instance>
-        </interface>
-    </hal>
     <!-- TODO (b/130078386):
     <hal format="hidl">
         <name>android.hardware.confirmationui</name>
diff --git a/shared/device.mk b/shared/device.mk
index eb027fa..da22f18 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -382,3 +382,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