diff options
author | 2019-06-26 17:06:57 +0000 | |
---|---|---|
committer | 2019-06-26 17:06:57 +0000 | |
commit | 5b725000431ad88c1388318a8a0b319604e1c4ff (patch) | |
tree | 0d22ca71b4311a3066a5d666510f0fc87ebf46fa /libs/gui/SurfaceControl.cpp | |
parent | 71f353b45f61776a27d71e4a12959e0f993f0e40 (diff) | |
parent | e8097ca7c5e00ed61d7f604d8eda8d2fe2d2fa9b (diff) |
Merge "Remove SurfaceControl.destroy function"
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
-rw-r--r-- | libs/gui/SurfaceControl.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/gui/SurfaceControl.cpp b/libs/gui/SurfaceControl.cpp index d87a447a97..b9defdd120 100644 --- a/libs/gui/SurfaceControl.cpp +++ b/libs/gui/SurfaceControl.cpp @@ -71,14 +71,6 @@ SurfaceControl::~SurfaceControl() release(); } -void SurfaceControl::destroy() -{ - if (isValid()) { - SurfaceComposerClient::Transaction().reparent(this, nullptr).apply(); - } - release(); -} - void SurfaceControl::release() { // Trigger an IPC now, to make sure things |