camera/camera-extensions/src/androidTest/java/androidx/camera/extensions/util/ExtensionsTestUtil.java
/**
     * Returns whether extensions is disabled by quirk.
     */
Returns whether extensions is disabled by quirk.
Returns whether extensions is disabled by quirk .
public static boolean extensionsDisabledByQuirk(@CameraSelector.LensFacing int lensFacing,
            @ExtensionMode.Mode int extensionMode) {
        return new ExtensionDisabledValidator().shouldDisableExtension(
                CameraUtil.getCameraIdWithLensFacing(lensFacing), extensionMode);
    }
public static boolean extensionsDisabledByQuirk ( @ CameraSelector . LensFacing int lensFacing , @ ExtensionMode . Mode int extensionMode ) { return new ExtensionDisabledValidator ( ) . shouldDisableExtension ( CameraUtil . getCameraIdWithLensFacing ( lensFacing ) , extensionMode ) ; }
Returns whether extensions is disabled by quirk.
Returns whether extensions is disabled by quirk .