summaryrefslogtreecommitdiff
path: root/include/gui/SurfaceControl.h
diff options
context:
space:
mode:
author Chong Zhang <chz@google.com> 2016-03-02 20:09:58 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-03-02 20:09:58 +0000
commit649449dbb777e58ea5f6f1af61f84022d088190c (patch)
treefb821a4b7f438ed5fe5f799e276285b1ddb631df /include/gui/SurfaceControl.h
parent0258add8ec3269a70607d4d9fd4d90d2b9b83f67 (diff)
parent1b3a9acb77ee12568fa19740d8eeab165a0dcd98 (diff)
Merge "Add SurfaceControl::disconnect() to disconnect currently connected API" into nyc-dev
Diffstat (limited to 'include/gui/SurfaceControl.h')
-rw-r--r--include/gui/SurfaceControl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/SurfaceControl.h b/include/gui/SurfaceControl.h
index 993a92f930..76ce68db91 100644
--- a/include/gui/SurfaceControl.h
+++ b/include/gui/SurfaceControl.h
@@ -57,6 +57,9 @@ public:
// release surface data from java
void clear();
+ // disconnect any api that's connected
+ void disconnect();
+
status_t setLayerStack(uint32_t layerStack);
status_t setLayer(uint32_t layer);
status_t setPosition(float x, float y);