Add setRelativeLayer to TransactionCompat
Bug: 160361464 Test: N/A Change-Id: Ib1931cc52511ad0a27b580ac8431facf34dbb48d
This commit is contained in:
@@ -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) {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user