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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user