Add setRelativeLayer to TransactionCompat

Bug: 160361464
Test: N/A
Change-Id: Ib1931cc52511ad0a27b580ac8431facf34dbb48d
This commit is contained in:
Tracy Zhou
2020-07-06 11:13:29 -07:00
parent 22810521eb
commit 972ace00d0

View File

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