summaryrefslogtreecommitdiff
path: root/include/gui/SurfaceControl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/SurfaceControl.h')
-rw-r--r--include/gui/SurfaceControl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gui/SurfaceControl.h b/include/gui/SurfaceControl.h
index 62217ad107..2dcbfa79f9 100644
--- a/include/gui/SurfaceControl.h
+++ b/include/gui/SurfaceControl.h
@@ -82,7 +82,9 @@ public:
// Defers applying any changes made in this transaction until the Layer
// identified by handle reaches the given frameNumber
- status_t deferTransactionUntil(sp<IBinder> handle, uint64_t frameNumber);
+ status_t deferTransactionUntil(const sp<IBinder>& handle, uint64_t frameNumber);
+ // Reparents all children of this layer to the new parent handle.
+ status_t reparentChildren(const sp<IBinder>& newParentHandle);
// Set an override scaling mode as documented in <system/window.h>
// the override scaling mode will take precedence over any client