Files
app_Settings/src/com/android/settings/bluetooth/BluetoothFeatureProvider.java
Antony Sargent e4a9530cc1 Add a flag for the Bluetooth device details page
This flag will be used to control whether we use a new, separate page
for Bluetooth device details, or the existing dialog.

Bug: 35877479
Test: make RunSettingsGoogleRoboTests
Change-Id: I2bda77493695ebe3b3bb824657a1422a68918256
2017-05-24 16:37:42 -07:00

33 lines
1.0 KiB
Java

/*
* Copyright (C) 2017 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.bluetooth;
/**
* Feature provider for bluetooth feature
*/
public interface BluetoothFeatureProvider {
/**
* @return whether additional pairing page is enabled
*/
boolean isPairingPageEnabled();
/**
* @return whether device details should be shown as a separate page (true) or a dialog (false)
*/
boolean isDeviceDetailPageEnabled();
}