Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e15db0e authored by Salvador Martinez's avatar Salvador Martinez Committed by android-build-merger
Browse files

Merge "Change visibility of some UsbBackend fields/methods" into oc-dr1-dev

am: 7f87347e

Change-Id: I286ed310140f522c67fa4c3c6af539938a66207d
parents 4748098d 7f87347e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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);