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

Commit ace9db8e authored by Evan Rosky's avatar Evan Rosky
Browse files

Don't allow protected content for edge-extension

While this should be logically ok, in practice, edge-extension
currently operates by taking a screenshot and operating on the
bitmap. This isn't supported for protected content so, for now,
just skip it.

Bug: 291881865
Test: open settings via 3-dot menu while google-tv video is
      playing.
Change-Id: Iaa800e19508c5801c2b75c8fb636d8784b2ea0b6
parent d292eec2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -346,7 +346,7 @@ public class TransitionAnimationHelper {
                        .setFrameScale(1)
                        .setPixelFormat(PixelFormat.RGBA_8888)
                        .setChildrenOnly(true)
                        .setAllowProtected(true)
                        .setAllowProtected(false)
                        .setCaptureSecureLayers(true)
                        .build();
        final ScreenCapture.ScreenshotHardwareBuffer edgeBuffer =