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
This commit is contained in:
Antony Sargent
2017-05-24 16:29:22 -07:00
parent be39d57762
commit e4a9530cc1
2 changed files with 11 additions and 1 deletions

View File

@@ -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();
}