summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Chavi Weingarten <chaviw@google.com> 2019-06-26 17:06:57 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-06-26 17:06:57 +0000
commit5b725000431ad88c1388318a8a0b319604e1c4ff (patch)
tree0d22ca71b4311a3066a5d666510f0fc87ebf46fa /libs/gui/SurfaceControl.cpp
parent71f353b45f61776a27d71e4a12959e0f993f0e40 (diff)
parente8097ca7c5e00ed61d7f604d8eda8d2fe2d2fa9b (diff)
Merge "Remove SurfaceControl.destroy function"
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
-rw-r--r--libs/gui/SurfaceControl.cpp8
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