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

Commit 1d019ffa authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add output of hasCustomAudioInputSupport() to dumpsys" into main

parents e34d630f b9c3e4a4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1068,6 +1068,10 @@ final class VirtualDeviceImpl extends IVirtualDevice.Stub

    @Override
    public boolean hasCustomAudioInputSupport() throws RemoteException {
        return hasCustomAudioInputSupportInternal();
    }

    private boolean hasCustomAudioInputSupportInternal() {
        if (!Flags.vdmPublicApis()) {
            return false;
        }
@@ -1119,6 +1123,8 @@ final class VirtualDeviceImpl extends IVirtualDevice.Stub
        if (mVirtualCameraController != null) {
            mVirtualCameraController.dump(fout, indent);
        }
        fout.println(
                indent + "hasCustomAudioInputSupport: " + hasCustomAudioInputSupportInternal());
    }

    // For display mirroring, we want to dispatch all key events to the source (default) display,