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

Commit 9e50b85a authored by Henri Chataing's avatar Henri Chataing
Browse files

hearing_aid: Remove changes for the flag asha_higher_flush_threshold

The change is superseded by asha_asrc which sets an even higher
flush threshold. asha_asrc is now shipped and this change
is no longer required.

Bug: 308684052
Bug: 315500864
Test: m com.android.btservices
Change-Id: If7c92482efb1bd34be4056ee80b40d05af0ce792
parent b249e1d3
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
package: "com.android.bluetooth.flags"
package: "com.android.bluetooth.flags"
container: "com.android.btservices"
container: "com.android.btservices"


flag {
    name: "higher_l2cap_flush_threshold"
    namespace: "bluetooth"
    description: "Use a higher threshold for flushing L2CAP packets"
    bug: "315500864"
}

flag {
flag {
    name: "asha_asrc"
    name: "asha_asrc"
    namespace: "bluetooth"
    namespace: "bluetooth"
+0 −3
Original line number Original line Diff line number Diff line
@@ -1409,9 +1409,6 @@ public:
    }
    }


    uint16_t l2cap_flush_threshold = 0;
    uint16_t l2cap_flush_threshold = 0;
    if (com::android::bluetooth::flags::higher_l2cap_flush_threshold()) {
      l2cap_flush_threshold = 1;
    }


    // Skipping packets completely messes up the resampler context.
    // Skipping packets completely messes up the resampler context.
    // The condition for skipping packets seems to be easily triggered,
    // The condition for skipping packets seems to be easily triggered,