Provide Spatializer in BluetoothFeatureProvider for Spatial Audio toggle
BUG: 316490612 Test: atest BluetoothDetailsSpatialAudioControllerTest Change-Id: I7fdb671d5395e08c517af58e88b4aeb48f193e5d
This commit is contained in:
@@ -18,6 +18,8 @@ package com.android.settings.bluetooth;
|
||||
|
||||
import android.bluetooth.BluetoothDevice;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.media.Spatializer;
|
||||
import android.net.Uri;
|
||||
|
||||
import java.util.List;
|
||||
@@ -50,4 +52,12 @@ public interface BluetoothFeatureProvider {
|
||||
* @return list of {@link ComponentName}
|
||||
*/
|
||||
List<ComponentName> getRelatedTools();
|
||||
|
||||
/**
|
||||
* Gets the instance of {@link Spatializer}.
|
||||
*
|
||||
* @param context Context
|
||||
* @return the Spatializer instance
|
||||
*/
|
||||
Spatializer getSpatializer(Context context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user