summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorAdy Abraham <adyabr@google.com>2021-03-15 16:14:29 -0700
committerAdy Abraham <adyabr@google.com>2021-03-18 01:24:40 +0000
commit0a1bc33851046eef747dc8d018c6fe5d67268899 (patch)
tree0964dc7c94d9b36154cb87f31f786fed8e700ab5 /core/java
parent8dc4ecd2c839247a44be41b47eebe415e813725a (diff)
Remove ISurfaceComposer::eEarlyWakeup
The flag is deprecated. Bug: 159125966 Test: build Change-Id: Idc68ac200944a8ba9ce966faa5c9ffb2b5e5a5ea
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/SurfaceControl.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/core/java/android/view/SurfaceControl.java b/core/java/android/view/SurfaceControl.java
index 03dd10050724..44b0caf1317e 100644
--- a/core/java/android/view/SurfaceControl.java
+++ b/core/java/android/view/SurfaceControl.java
@@ -105,7 +105,6 @@ public final class SurfaceControl implements Parcelable {
private static native void nativeMergeTransaction(long transactionObj,
long otherTransactionObj);
private static native void nativeSetAnimationTransaction(long transactionObj);
- private static native void nativeSetEarlyWakeup(long transactionObj);
private static native void nativeSetEarlyWakeupStart(long transactionObj);
private static native void nativeSetEarlyWakeupEnd(long transactionObj);
@@ -3137,23 +3136,6 @@ public final class SurfaceControl implements Parcelable {
return this;
}
- /**
- * @deprecated use {@link Transaction#setEarlyWakeupStart()}
- *
- * Indicate that SurfaceFlinger should wake up earlier than usual as a result of this
- * transaction. This should be used when the caller thinks that the scene is complex enough
- * that it's likely to hit GL composition, and thus, SurfaceFlinger needs to more time in
- * order not to miss frame deadlines.
- * <p>
- * Corresponds to setting ISurfaceComposer::eEarlyWakeup
- * @hide
- */
- @Deprecated
- public Transaction setEarlyWakeup() {
- nativeSetEarlyWakeup(mNativeObject);
- return this;
- }
-
/**
* Provides a hint to SurfaceFlinger to change its offset so that SurfaceFlinger wakes up
* earlier to compose surfaces. The caller should use this as a hint to SurfaceFlinger