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

Commit 5a595fd2 authored by Jayant Chowdhary's avatar Jayant Chowdhary Committed by Android (Google) Code Review
Browse files

Merge "Remove excludeWebcamAuthChallenge flag check" into main

parents 54415abb 846c4f83
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -174,9 +174,6 @@ public class UsbDetailsFunctionsController extends UsbDetailsController
    }

    private boolean isAuthRequired(long function) {
        if (!Flags.excludeWebcamAuthChallenge()) {
            return true;
        }
        // Since webcam and MIDI don't transfer any persistent data over USB
        // don't require authentication.
        return !(function == UsbManager.FUNCTION_UVC || function == UsbManager.FUNCTION_MIDI);