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

Commit e194d973 authored by Mingguang Xu's avatar Mingguang Xu
Browse files

Enable BTAA feature by default



Tag: #feature

Bug: 170315554

Test: mmma -j system/bt
Test: manual

Signed-off-by: default avatarMingguang Xu <mingguangxu@google.com>
Change-Id: Ia648dc4b1d034bb3abd67c3a38d6531d82727eea
parent 16bb1bf4
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -456,8 +456,6 @@ public class AdapterService extends Service {
        mJniCallbacks = new JniCallbacks(this, mAdapterProperties);
        mBluetoothKeystoreService = new BluetoothKeystoreService(isCommonCriteriaMode());
        mBluetoothKeystoreService.start();
        mActivityAttributionService = new ActivityAttributionService();
        mActivityAttributionService.start();
        int configCompareResult = mBluetoothKeystoreService.getCompareResult();

        // Start tracking Binder latency for the bluetooth process.
@@ -512,6 +510,9 @@ public class AdapterService extends Service {

        mBluetoothSocketManagerBinder = new BluetoothSocketManagerBinder(this);

        mActivityAttributionService = new ActivityAttributionService();
        mActivityAttributionService.start();

        setAdapterService(this);

        invalidateBluetoothCaches();
@@ -3788,7 +3789,7 @@ public class AdapterService extends Service {
            initFlags.add(String.format("%s=%s", LOGGING_DEBUG_DISABLED_FOR_TAGS_FLAG,
                    debugLoggingDisabledTags));
        }
        if (DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_BLUETOOTH, BTAA_HCI_LOG_FLAG, false)) {
        if (DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_BLUETOOTH, BTAA_HCI_LOG_FLAG, true)) {
            initFlags.add(String.format("%s=%s", BTAA_HCI_LOG_FLAG, "true"));
        }
        return initFlags.toArray(new String[0]);