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

Commit 5a9e5837 authored by Tim Peng's avatar Tim Peng
Browse files

“Bluetooth Audio Codec” is not getting listed while searching for it using...

 “Bluetooth Audio Codec” is not getting listed while searching for it using “keywords” from settings search tab

-Implement PreferenceControllerMixin to decide nonIndexableKeys list according to isAvailable() status

Bug: 156337281
Test: make -j50 RunSettingsRoboTests
Change-Id: I8787acfd50ac351499781d016a3c806a1a6b4f9f
parent 5c1b9c35
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.settings.development.bluetooth;
import android.bluetooth.BluetoothA2dp;
import android.content.Context;

import com.android.settings.core.PreferenceControllerMixin;
import com.android.settings.development.BluetoothA2dpConfigStore;
import com.android.settings.development.BluetoothServiceConnectionListener;
import com.android.settingslib.core.lifecycle.Lifecycle;
@@ -31,7 +32,7 @@ import com.android.settingslib.development.DeveloperOptionsPreferenceController;
 */
public abstract class AbstractBluetoothPreferenceController extends
        DeveloperOptionsPreferenceController implements BluetoothServiceConnectionListener,
        LifecycleObserver, OnDestroy {
        LifecycleObserver, OnDestroy, PreferenceControllerMixin {

    protected volatile BluetoothA2dp mBluetoothA2dp;