Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Merge changes from topic "revert_capture_display"
Browse files Browse the repository at this point in the history
* changes:
  Revert "Add captureDisplay API in WMS."
  Revert "Convert invalid crop to display bounds for captureDisplay"
  • Loading branch information
Chavi Weingarten authored and Android (Google) Code Review committed Sep 22, 2022
2 parents 650c211 + 0fff17b commit 51847be
Show file tree
Hide file tree
Showing 9 changed files with 209 additions and 527 deletions.
8 changes: 0 additions & 8 deletions core/java/android/view/IWindowManager.aidl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ import android.view.SurfaceControl;
import android.view.displayhash.DisplayHash;
import android.view.displayhash.VerifiedDisplayHash;
import android.window.ITaskFpsCallback;
import android.window.ScreenCapture;

/**
* System private interface to the window manager.
Expand Down Expand Up @@ -969,11 +968,4 @@ interface IWindowManager
* treatment.
*/
boolean isLetterboxBackgroundMultiColored();

/**
* Captures the entire display specified by the displayId using the args provided. If the args
* are null or if the sourceCrop is invalid or null, the entire display bounds will be captured.
*/
oneway void captureDisplay(int displayId, in @nullable ScreenCapture.CaptureArgs captureArgs,
in ScreenCapture.ScreenCaptureListener listener);
}
26 changes: 0 additions & 26 deletions core/java/android/window/ScreenCapture.aidl

This file was deleted.

Loading

0 comments on commit 51847be

Please sign in to comment.