Add mechanism to add accessibility service or activity into bluetooth 'Related' category
Bug: 225117933 Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDetailsRelatedToolsControllerTest Change-Id: Iaa3593b4fd9d916fe7f96b3e4bb0965fdbbe36ec
This commit is contained in:
@@ -17,15 +17,18 @@
|
||||
package com.android.settings.bluetooth;
|
||||
|
||||
import android.bluetooth.BluetoothDevice;
|
||||
import android.content.ComponentName;
|
||||
import android.net.Uri;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Provider for bluetooth related feature
|
||||
* Provider for bluetooth related features.
|
||||
*/
|
||||
public interface BluetoothFeatureProvider {
|
||||
|
||||
/**
|
||||
* Get the {@link Uri} that represents extra settings for a specific bluetooth device
|
||||
* Gets the {@link Uri} that represents extra settings for a specific bluetooth device
|
||||
*
|
||||
* @param bluetoothDevice bluetooth device
|
||||
* @return {@link Uri} for extra settings
|
||||
@@ -33,10 +36,18 @@ public interface BluetoothFeatureProvider {
|
||||
Uri getBluetoothDeviceSettingsUri(BluetoothDevice bluetoothDevice);
|
||||
|
||||
/**
|
||||
* Get the {@link Uri} that represents extra control for a specific bluetooth device
|
||||
* Gets the {@link Uri} that represents extra control for a specific bluetooth device
|
||||
*
|
||||
* @param bluetoothDevice bluetooth device
|
||||
* @return {@link String} uri string for extra control
|
||||
*/
|
||||
String getBluetoothDeviceControlUri(BluetoothDevice bluetoothDevice);
|
||||
|
||||
/**
|
||||
* Gets the {@link ComponentName} of services or activities that need to be shown in related
|
||||
* tools.
|
||||
*
|
||||
* @return list of {@link ComponentName}
|
||||
*/
|
||||
List<ComponentName> getRelatedTools();
|
||||
}
|
||||
|
Reference in New Issue
Block a user