diff options
| author | 2021-04-08 17:30:52 -0700 | |
|---|---|---|
| committer | 2021-04-08 17:32:19 -0700 | |
| commit | 257fdaecb53fdec10dbe187ec523641da21b55cb (patch) | |
| tree | d8b2ebe397742d8ea8f32a728dba57fa6bfc71ec /libs/gui/SurfaceComposerClient.cpp | |
| parent | 9432a357af0f0ff4a83d1f9db646450cf162d616 (diff) | |
SurfaceFlinger: Remove reparentChildren
No callers left outside of tests.
Bug: 161937501
Test: Existing tests pass
Change-Id: Id5c2b68d1be05fce9f698813d83044b02bb2764d
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index c888312184..9ce094aa77 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -1157,20 +1157,6 @@ SurfaceComposerClient::Transaction::deferTransactionUntil_legacy( return *this; } -SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::reparentChildren( - const sp<SurfaceControl>& sc, const sp<SurfaceControl>& newParent) { - layer_state_t* s = getLayerState(sc); - if (!s) { - mStatus = BAD_INDEX; - return *this; - } - s->what |= layer_state_t::eReparentChildren; - s->reparentSurfaceControl = newParent; - - registerSurfaceControlForCallback(sc); - return *this; -} - SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::reparent( const sp<SurfaceControl>& sc, const sp<SurfaceControl>& newParent) { layer_state_t* s = getLayerState(sc); |