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

Commit 2e03a785 authored by Dennis Shen's avatar Dennis Shen
Browse files

Deprecate cc_binary aconfigd and the controlling flag

cc_binary aconfigd is replaced with rust_binary aconfigd-system. The
replacement is flag guarded and is already in TF full for more than a
week. Thus delete the flag and deprecate old cc_binary aconfigd.

Flag: EXEMPT flagging infra
Test: m
Change-Id: Ie9e7132d2befbd4a907b7aa3b4e3a0de8b36775d
parent edb3e760
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -238,7 +238,6 @@ java_library_static {
        "connectivity_flags_lib",
        "device_config_service_flags_java",
        "dreams_flags_lib",
        "aconfig_flags_java",
        "aconfig_new_storage_flags_lib",
        "powerstats_flags_lib",
        "locksettings_flags_lib",
+2 −4
Original line number Diff line number Diff line
@@ -42,7 +42,6 @@ import android.aconfigd.Aconfigd.StorageReturnMessages;
import static com.android.aconfig_new_storage.Flags.enableAconfigStorageDaemon;
import static com.android.aconfig_new_storage.Flags.supportImmediateLocalOverrides;
import static com.android.aconfig_new_storage.Flags.supportClearLocalOverridesImmediately;
import static com.android.aconfig.flags.Flags.enableSystemAconfigdRust;

import java.io.DataInputStream;
import java.io.DataOutputStream;
@@ -458,8 +457,7 @@ public class SettingsToPropertiesMapper {
    static ProtoInputStream sendAconfigdRequests(ProtoOutputStream requests) {
        // connect to aconfigd socket
        LocalSocket client = new LocalSocket();
        String socketName = enableSystemAconfigdRust()
                    ? "aconfigd_system" : "aconfigd";
        String socketName = "aconfigd_system";
        try {
            client.connect(new LocalSocketAddress(
                socketName, LocalSocketAddress.Namespace.RESERVED));