Remove unused SC methods

Test: Builds
Bug: 237664947
Change-Id: I8ea8b26f4f5f8e7675a8a9fcf06c7f10cfa9e196
This commit is contained in:
Chavi Weingarten
2022-06-30 16:05:33 +00:00
parent cded27616e
commit c4bf46c247

View File

@@ -2350,47 +2350,6 @@ public final class SurfaceControl implements Parcelable {
nativeSetGameContentType(displayToken, on);
}
/**
* @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.
*