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

Commit 03481f6f authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add init flag INIT_gd_l2cap" am: 2e8fc6d3 am: 8081b994 am: 035fbf61 am: 12da8b6b

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/1472846

Change-Id: Iba4eba048980a79355447d02e2ec57ec03ce67a7
parents 9a7df767 12da8b6b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3063,6 +3063,7 @@ public class AdapterService extends Service {
    private static final String GD_HCI_FLAG = "INIT_gd_hci";
    private static final String GD_CONTROLLER_FLAG = "INIT_gd_controller";
    private static final String GD_ACL_FLAG = "INIT_gd_acl";
    private static final String GD_L2CAP_FLAG = "INIT_gd_l2cap";
    /**
     * Logging flags logic (only applies to DEBUG and VERBOSE levels):
     * if LOG_TAG in LOGGING_DEBUG_DISABLED_FOR_TAGS_FLAG:
@@ -3101,6 +3102,9 @@ public class AdapterService extends Service {
        if (DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_BLUETOOTH, GD_ACL_FLAG, false)) {
            initFlags.add(String.format("%s=%s", GD_ACL_FLAG, "true"));
        }
        if (DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_BLUETOOTH, GD_L2CAP_FLAG, false)) {
            initFlags.add(String.format("%s=%s", GD_L2CAP_FLAG, "true"));
        }
        if (DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_BLUETOOTH,
                LOGGING_DEBUG_ENABLED_FOR_ALL_FLAG, false)) {
            initFlags.add(String.format("%s=%s", LOGGING_DEBUG_ENABLED_FOR_ALL_FLAG, "true"));