Bug: 354076686 Flag: com.android.settings.accessibility.fix_a11y_settings_search Test: Search Project Relate and verify the item shows up in the search result Test: Search Talkback with keywords, verify the Talkback shows up in the search result Test: atest AccessibilitySettingsTest Change-Id: I258ecb0928308b7cde30c12104408e11cc25ecd5
47 lines
1.4 KiB
Java
47 lines
1.4 KiB
Java
/*
|
|
* Copyright (C) 2021 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
package com.android.settings.accessibility;
|
|
|
|
import android.content.ComponentName;
|
|
import android.content.Context;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
|
|
import com.android.settingslib.search.SearchIndexableRaw;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Provider implementation for Accessibility Search related features.
|
|
*/
|
|
public class AccessibilitySearchFeatureProviderImpl implements AccessibilitySearchFeatureProvider {
|
|
|
|
@Nullable
|
|
@Override
|
|
public List<SearchIndexableRaw> getSearchIndexableRawData(Context context) {
|
|
return null;
|
|
}
|
|
|
|
@NonNull
|
|
@Override
|
|
public String getSynonymsForComponent(@NonNull Context context,
|
|
@NonNull ComponentName componentName) {
|
|
return "";
|
|
}
|
|
}
|