Migrate SearchFeatureProviderImpl to Kotlin

This is no-op.

Bug: 346776183
Flag: EXEMPT refactor
Test: manual - do settings search
Change-Id: I5c113f6ed5db1401e1d237f0022ab6dccde8d060
This commit is contained in:
Chaohui Wang
2024-06-26 15:09:59 +08:00
parent 03e9188830
commit 75a382fc46
4 changed files with 100 additions and 83 deletions

View File

@@ -0,0 +1,34 @@
/*
* Copyright (C) 2024 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.search;
import androidx.annotation.NonNull;
import com.android.settingslib.search.SearchIndexableResources;
import com.android.settingslib.search.SearchIndexableResourcesMobile;
/**
* Creates the {@link SearchIndexableResourcesMobile}.
* <p>
* Since this class is generated by annotation processor, so it can only be created in Java now.
*/
class SearchIndexableResourcesFactory {
@NonNull
static SearchIndexableResources createSearchIndexableResources() {
return new SearchIndexableResourcesMobile();
}
}