Merge "Add a flag for the Bluetooth device details page"
This commit is contained in:
committed by
Android (Google) Code Review
commit
755ff93155
@@ -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();
|
||||
}
|
||||
|
||||
@@ -9,4 +9,9 @@ public class BluetoothFeatureProviderImpl implements BluetoothFeatureProvider {
|
||||
public boolean isPairingPageEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDeviceDetailPageEnabled() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user