diff options
| author | 2023-08-02 15:14:52 -0700 | |
|---|---|---|
| committer | 2023-08-02 15:14:52 -0700 | |
| commit | ace9db8ebebd6a43b761cbe94eade203ff06fe31 (patch) | |
| tree | 0e7428aa45cb88f44b85f19910cf91e3ed3d364f | |
| parent | d292eec260267cc19c6e726dc165ab9dc93a6af4 (diff) | |
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
| -rw-r--r-- | libs/WindowManager/Shell/src/com/android/wm/shell/transition/TransitionAnimationHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/transition/TransitionAnimationHelper.java b/libs/WindowManager/Shell/src/com/android/wm/shell/transition/TransitionAnimationHelper.java index d978eafa97f3..d07d2b7b6db9 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/transition/TransitionAnimationHelper.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/transition/TransitionAnimationHelper.java @@ -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 = |