Merge "Change visibility of some UsbBackend fields/methods" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7f87347eb9
@@ -28,11 +28,11 @@ import android.support.annotation.VisibleForTesting;
|
||||
|
||||
public class UsbBackend {
|
||||
|
||||
private static final int MODE_POWER_MASK = 0x01;
|
||||
public static final int MODE_POWER_MASK = 0x01;
|
||||
public static final int MODE_POWER_SINK = 0x00;
|
||||
public static final int MODE_POWER_SOURCE = 0x01;
|
||||
|
||||
private static final int MODE_DATA_MASK = 0x03 << 1;
|
||||
public static final int MODE_DATA_MASK = 0x03 << 1;
|
||||
public static final int MODE_DATA_NONE = 0x00 << 1;
|
||||
public static final int MODE_DATA_MTP = 0x01 << 1;
|
||||
public static final int MODE_DATA_PTP = 0x02 << 1;
|
||||
@@ -53,7 +53,7 @@ public class UsbBackend {
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
UsbBackend(Context context, UserRestrictionUtil userRestrictionUtil) {
|
||||
public UsbBackend(Context context, UserRestrictionUtil userRestrictionUtil) {
|
||||
mContext = context;
|
||||
mUsbManager = context.getSystemService(UsbManager.class);
|
||||
|
||||
|
Reference in New Issue
Block a user