diff options
| author | Ady Abraham <adyabr@google.com> | 2021-03-19 17:39:19 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-03-19 17:39:19 +0000 |
| commit | 97190e25e9e4d0705f9ad3dabd213bb99a0b293f (patch) | |
| tree | 20e6e21f045b473e8f49d38cfad89910fcecd3ff /core/java/android/view/SurfaceControl.java | |
| parent | 15f8f2c5a08a8484d7325145c600494a49557a4a (diff) | |
| parent | 5f1255f16a2e195b2beab165ef0d46c17f0d6cd0 (diff) | |
Merge changes from topic "eEarlyWakeup_remove" into sc-dev
* changes:
rename ExplicitEarlyWakeup -> EarlyWakeup
Remove ISurfaceComposer::eEarlyWakeup
Diffstat (limited to 'core/java/android/view/SurfaceControl.java')
| -rw-r--r-- | core/java/android/view/SurfaceControl.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/core/java/android/view/SurfaceControl.java b/core/java/android/view/SurfaceControl.java index 0167147a1067..85d4878d044c 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); @@ -3175,23 +3174,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 |
