summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chavi Weingarten <chaviw@google.com> 2022-06-30 16:05:33 +0000
committer Chavi Weingarten <chaviw@google.com> 2022-06-30 16:05:33 +0000
commitc4bf46c2473568002d421d48a58ee8ed035a32e3 (patch)
tree234289eebb56c76ac554041b3aa427206b700c6b
parentcded27616e4ec98f2b17aff303be5af75961a637 (diff)
Remove unused SC methods
Test: Builds Bug: 237664947 Change-Id: I8ea8b26f4f5f8e7675a8a9fcf06c7f10cfa9e196
-rw-r--r--core/java/android/view/SurfaceControl.java41
1 files changed, 0 insertions, 41 deletions
diff --git a/core/java/android/view/SurfaceControl.java b/core/java/android/view/SurfaceControl.java
index 1a37d11b65a8..ff1817a75ba2 100644
--- a/core/java/android/view/SurfaceControl.java
+++ b/core/java/android/view/SurfaceControl.java
@@ -2351,47 +2351,6 @@ public final class SurfaceControl implements Parcelable {
}
/**
- * @hide
- */
- @UnsupportedAppUsage
- public static void setDisplayProjection(IBinder displayToken,
- int orientation, Rect layerStackRect, Rect displayRect) {
- synchronized (SurfaceControl.class) {
- sGlobalTransaction.setDisplayProjection(displayToken, orientation,
- layerStackRect, displayRect);
- }
- }
-
- /**
- * @hide
- */
- @UnsupportedAppUsage
- public static void setDisplayLayerStack(IBinder displayToken, int layerStack) {
- synchronized (SurfaceControl.class) {
- sGlobalTransaction.setDisplayLayerStack(displayToken, layerStack);
- }
- }
-
- /**
- * @hide
- */
- @UnsupportedAppUsage
- public static void setDisplaySurface(IBinder displayToken, Surface surface) {
- synchronized (SurfaceControl.class) {
- sGlobalTransaction.setDisplaySurface(displayToken, surface);
- }
- }
-
- /**
- * @hide
- */
- public static void setDisplaySize(IBinder displayToken, int width, int height) {
- synchronized (SurfaceControl.class) {
- sGlobalTransaction.setDisplaySize(displayToken, width, height);
- }
- }
-
- /**
* Overrides HDR modes for a display device.
*
* If the caller does not have ACCESS_SURFACE_FLINGER permission, this will throw a Security