diff --git a/src/com/android/settings/bluetooth/BluetoothFeatureProvider.java b/src/com/android/settings/bluetooth/BluetoothFeatureProvider.java index 358223d55d8..a6ae31c421b 100644 --- a/src/com/android/settings/bluetooth/BluetoothFeatureProvider.java +++ b/src/com/android/settings/bluetooth/BluetoothFeatureProvider.java @@ -21,7 +21,12 @@ package com.android.settings.bluetooth; */ public interface BluetoothFeatureProvider { /** - * Check whether additional pairing page is enabled + * @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(); } diff --git a/src/com/android/settings/bluetooth/BluetoothFeatureProviderImpl.java b/src/com/android/settings/bluetooth/BluetoothFeatureProviderImpl.java index f5b65b767cf..8d9e1c433d7 100644 --- a/src/com/android/settings/bluetooth/BluetoothFeatureProviderImpl.java +++ b/src/com/android/settings/bluetooth/BluetoothFeatureProviderImpl.java @@ -9,4 +9,9 @@ public class BluetoothFeatureProviderImpl implements BluetoothFeatureProvider { public boolean isPairingPageEnabled() { return false; } + + @Override + public boolean isDeviceDetailPageEnabled() { + return false; + } }