Make classes non-final so mockito can mock them.
Bug: 33341275 Test: RunSettingsRoboTests Change-Id: If83180d7caf3af29c9d0dcdc20d557d8d9827c74
This commit is contained in:
@@ -38,7 +38,7 @@ import java.util.Set;
|
||||
* API and dispatches the event on the UI thread to the right class in the
|
||||
* Settings.
|
||||
*/
|
||||
public final class BluetoothEventManager {
|
||||
public class BluetoothEventManager {
|
||||
private static final String TAG = "BluetoothEventManager";
|
||||
|
||||
private final LocalBluetoothAdapter mLocalAdapter;
|
||||
|
||||
@@ -42,7 +42,7 @@ import java.util.List;
|
||||
* functionality that can be performed on the device (connect, pair, disconnect,
|
||||
* etc.).
|
||||
*/
|
||||
public final class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> {
|
||||
public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> {
|
||||
private static final String TAG = "CachedBluetoothDevice";
|
||||
private static final boolean DEBUG = Utils.V;
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ import java.util.List;
|
||||
/**
|
||||
* CachedBluetoothDeviceManager manages the set of remote Bluetooth devices.
|
||||
*/
|
||||
public final class CachedBluetoothDeviceManager {
|
||||
public class CachedBluetoothDeviceManager {
|
||||
private static final String TAG = "CachedBluetoothDeviceManager";
|
||||
private static final boolean DEBUG = Utils.D;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ import java.util.Set;
|
||||
* are handled by {@link CachedBluetoothDeviceManager},
|
||||
* {@link BluetoothEventManager}, and {@link LocalBluetoothProfileManager}.
|
||||
*/
|
||||
public final class LocalBluetoothAdapter {
|
||||
public class LocalBluetoothAdapter {
|
||||
private static final String TAG = "LocalBluetoothAdapter";
|
||||
|
||||
/** This class does not allow direct access to the BluetoothAdapter. */
|
||||
|
||||
@@ -25,7 +25,7 @@ import android.util.Log;
|
||||
* if there is no Bluetooth adapter on this device, and callers must be
|
||||
* prepared to handle this case.
|
||||
*/
|
||||
public final class LocalBluetoothManager {
|
||||
public class LocalBluetoothManager {
|
||||
private static final String TAG = "LocalBluetoothManager";
|
||||
|
||||
/** Singleton instance. */
|
||||
|
||||
Reference in New Issue
Block a user