Fix the problem that the "Default USB configuration" item can not
be searched. The source of problem is that the controller does not extends the PreferenceControllerMixin. Fix: 211831988 Test: robo test and see the search result Change-Id: I8bdc61bd567812ee484a959f2b058f315df9a3b3
This commit is contained in:
@@ -24,11 +24,12 @@ import android.os.UserHandle;
|
||||
import androidx.preference.Preference;
|
||||
import androidx.preference.PreferenceScreen;
|
||||
|
||||
import com.android.settings.core.PreferenceControllerMixin;
|
||||
import com.android.settingslib.RestrictedSwitchPreference;
|
||||
import com.android.settingslib.development.DeveloperOptionsPreferenceController;
|
||||
|
||||
public class DefaultUsbConfigurationPreferenceController extends
|
||||
DeveloperOptionsPreferenceController {
|
||||
DeveloperOptionsPreferenceController implements PreferenceControllerMixin {
|
||||
|
||||
private static final String PREFERENCE_KEY = "default_usb_configuration";
|
||||
|
||||
|
Reference in New Issue
Block a user