Loading services/core/java/com/android/server/wm/ContentRecorder.java +8 −0 Original line number Diff line number Diff line Loading @@ -650,6 +650,14 @@ final class ContentRecorder implements WindowContainerListener { if (isCurrentlyRecording() && mLastRecordedBounds != null) { mMediaProjectionManager.notifyActiveProjectionCapturedContentVisibilityChanged( isVisibleRequested); if (mContentRecordingSession.getContentToRecord() == RECORD_CONTENT_TASK) { // If capturing a task, then the toggle visibility of the recorded surface to match // visibility of the task, so we don't capture any mid-transition frames mRecordedWindowContainer.getSyncTransaction() .setVisibility(mRecordedSurface, isVisibleRequested); mRecordedWindowContainer.scheduleAnimation(); } } } Loading Loading
services/core/java/com/android/server/wm/ContentRecorder.java +8 −0 Original line number Diff line number Diff line Loading @@ -650,6 +650,14 @@ final class ContentRecorder implements WindowContainerListener { if (isCurrentlyRecording() && mLastRecordedBounds != null) { mMediaProjectionManager.notifyActiveProjectionCapturedContentVisibilityChanged( isVisibleRequested); if (mContentRecordingSession.getContentToRecord() == RECORD_CONTENT_TASK) { // If capturing a task, then the toggle visibility of the recorded surface to match // visibility of the task, so we don't capture any mid-transition frames mRecordedWindowContainer.getSyncTransaction() .setVisibility(mRecordedSurface, isVisibleRequested); mRecordedWindowContainer.scheduleAnimation(); } } } Loading