Files
packages_apps_Settings/src/com/android/settings/connecteddevice/fastpair/FastPairFeatureProvider.java
Yiyi Shen de231200d7 Add FeatureProvider for FastPair Settings integration.
Bug: 296507968
Test: FakeFeatureFactory
Change-Id: Ie2e238cb61ca56a1d19e1a13b0234e28e28a785e
2023-08-29 15:50:48 +08:00

33 lines
1.1 KiB
Java

/*
* Copyright (C) 2023 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.connecteddevice.fastpair;
import android.content.Context;
import com.android.settings.connecteddevice.DevicePreferenceCallback;
/**
* Feature provider for the Fast Pair device updater.
*/
public interface FastPairFeatureProvider {
/**
* Returns the FastPairDeviceUpdater of the account associated Fast Pair device
*/
FastPairDeviceUpdater getFastPairDeviceUpdater(
Context context, DevicePreferenceCallback devicePreferenceCallback);
}