Merge "Add a flag for the Bluetooth device details page"

This commit is contained in:
TreeHugger Robot
2017-05-25 02:10:34 +00:00
committed by Android (Google) Code Review
2 changed files with 11 additions and 1 deletions

View File

@@ -21,7 +21,12 @@ package com.android.settings.bluetooth;
*/ */
public interface BluetoothFeatureProvider { public interface BluetoothFeatureProvider {
/** /**
* Check whether additional pairing page is enabled * @return whether additional pairing page is enabled
*/ */
boolean isPairingPageEnabled(); boolean isPairingPageEnabled();
/**
* @return whether device details should be shown as a separate page (true) or a dialog (false)
*/
boolean isDeviceDetailPageEnabled();
} }

View File

@@ -9,4 +9,9 @@ public class BluetoothFeatureProviderImpl implements BluetoothFeatureProvider {
public boolean isPairingPageEnabled() { public boolean isPairingPageEnabled() {
return false; return false;
} }
@Override
public boolean isDeviceDetailPageEnabled() {
return false;
}
} }