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

Commit 846c4f83 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

Remove excludeWebcamAuthChallenge flag check

This flag has been fully launched, so we don't need the check anymore.

Bug: 409606167

Test: build

Flag: EXEMPT; flag removal
Change-Id: I289c1a9006a2248ef6a34249e161cec36f819b1f
parent 885349ea
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);