Make classes non-final so mockito can mock them.

Bug: 33341275
Test: RunSettingsRoboTests
Change-Id: If83180d7caf3af29c9d0dcdc20d557d8d9827c74
This commit is contained in:
Fan Zhang
2016-12-27 13:13:00 -08:00
parent db1fd9348e
commit 82dd3b0bf6
5 changed files with 5 additions and 5 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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. */

View File

@@ -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. */