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

Commit 4fd0b958 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of ['googleplex-android-review.googlesource.com/27000255'] into 24Q2-release.

Change-Id: Iaa3595ea9be48a9f161a955b5087f4f22a69cec0
parents a14ff520 76825bcc
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -107,7 +107,10 @@ final class ContentRecorder implements WindowContainerListener {

    ContentRecorder(@NonNull DisplayContent displayContent) {
        this(displayContent, new RemoteMediaProjectionManagerWrapper(displayContent.mDisplayId),
                new DisplayManagerFlags().isConnectedDisplayManagementEnabled());
                new DisplayManagerFlags().isConnectedDisplayManagementEnabled()
                        && !new DisplayManagerFlags()
                                    .isPixelAnisotropyCorrectionInLogicalDisplayEnabled()
                        && displayContent.getDisplayInfo().type == Display.TYPE_EXTERNAL);
    }

    @VisibleForTesting