Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dff00522 authored by qing's avatar qing Committed by Qing Zhong
Browse files

Make CallMetadataSyncInCallService enable configurable

This is make Telecom only binds needed InCallService to save CPU cycles. WearOS is not using ContextSync feature.

Test: Manual test can override the enable flag.
Change-Id: I339f9ae4fa21fa4160b5aff889a8ca94a3a4b4fb
parent 74ee1139
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8771,6 +8771,7 @@

        <service android:name="com.android.server.companion.datatransfer.contextsync.CallMetadataSyncInCallService"
                 android:permission="android.permission.BIND_INCALL_SERVICE"
                 android:enabled="@bool/config_enableContextSyncInCall"
                 android:exported="true">
            <meta-data android:name="android.telecom.INCLUDE_SELF_MANAGED_CALLS"
                       android:value="true" />
+3 −0
Original line number Diff line number Diff line
@@ -7039,6 +7039,9 @@
         event gets ignored. -->
    <integer name="config_defaultMinEmergencyGestureTapDurationMillis">200</integer>

    <!-- Control whether to enable CallMetadataSyncInCallService. -->
    <bool name="config_enableContextSyncInCall">false</bool>

    <!-- Whether the system uses auto-suspend mode. -->
    <bool name="config_useAutoSuspend">true</bool>
</resources>