Add setRelativeLayer to TransactionCompat am: 972ace00d0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12089062

Change-Id: Ic1194e5746e3fa14154961a8bce0d18d76845654
This commit is contained in:
Tracy Zhou
2020-07-06 21:46:31 +00:00
committed by Automerger Merge Worker

View File

@@ -114,6 +114,11 @@ public class TransactionCompat {
t.deferTransactionUntil(surfaceControl, barrier, frameNumber); t.deferTransactionUntil(surfaceControl, barrier, frameNumber);
} }
public static void setRelativeLayer(Transaction t, SurfaceControl surfaceControl,
SurfaceControl relativeTo, int z) {
t.setRelativeLayer(surfaceControl, relativeTo, z);
}
@Deprecated @Deprecated
public static void setEarlyWakeup(Transaction t) { public static void setEarlyWakeup(Transaction t) {
} }