summaryrefslogtreecommitdiffstats
path: root/include/gui
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-08-26 22:49:35 -0700
committerJeff Brown <jeffbrown@google.com>2012-08-27 14:40:17 -0700
commit380223bf1b340e7503177254a60d5982f95ab793 (patch)
tree7470d7e9b12987706d47b0112815f670452bb885 /include/gui
parent9d4e3d2f42e93e2d12bacabe97d307d30c3c20dd (diff)
downloadframeworks_native-380223bf1b340e7503177254a60d5982f95ab793.zip
frameworks_native-380223bf1b340e7503177254a60d5982f95ab793.tar.gz
frameworks_native-380223bf1b340e7503177254a60d5982f95ab793.tar.bz2
Remove unused "layer" argument from show().
Change-Id: I8944a9f4a27c330b11e5e837c69b88c8f84145ba
Diffstat (limited to 'include/gui')
-rw-r--r--include/gui/Surface.h2
-rw-r--r--include/gui/SurfaceComposerClient.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/Surface.h b/include/gui/Surface.h
index 6f2d40f..2288fe7 100644
--- a/include/gui/Surface.h
+++ b/include/gui/Surface.h
@@ -65,7 +65,7 @@ public:
status_t setPosition(int32_t x, int32_t y);
status_t setSize(uint32_t w, uint32_t h);
status_t hide();
- status_t show(int32_t layer = -1);
+ status_t show();
status_t setFlags(uint32_t flags, uint32_t mask);
status_t setTransparentRegionHint(const Region& transparent);
status_t setAlpha(float alpha=1.0f);
diff --git a/include/gui/SurfaceComposerClient.h b/include/gui/SurfaceComposerClient.h
index 15a0c1e..295e7fb 100644
--- a/include/gui/SurfaceComposerClient.h
+++ b/include/gui/SurfaceComposerClient.h
@@ -100,7 +100,7 @@ public:
static void closeGlobalTransaction(bool synchronous = false);
status_t hide(SurfaceID id);
- status_t show(SurfaceID id, int32_t layer = -1);
+ status_t show(SurfaceID id);
status_t setFlags(SurfaceID id, uint32_t flags, uint32_t mask);
status_t setTransparentRegionHint(SurfaceID id, const Region& transparent);
status_t setLayer(SurfaceID id, int32_t layer);